diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-07-09 19:25:42 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-09 19:25:42 +0000 |
commit | b4da565534b3826037576a6c44e40716b024f89a (patch) | |
tree | d04b7d3a6240dea2471f1d08fbdaf91dad651f58 /src/tests/logger.cpp | |
parent | 62a1a445ab61fe31367054c094b7e0bb0495833d (diff) | |
download | libbu++-b4da565534b3826037576a6c44e40716b024f89a.tar.gz libbu++-b4da565534b3826037576a6c44e40716b024f89a.tar.bz2 libbu++-b4da565534b3826037576a6c44e40716b024f89a.tar.xz libbu++-b4da565534b3826037576a6c44e40716b024f89a.zip |
The new logHexDump function seems to work just fine.
Diffstat (limited to 'src/tests/logger.cpp')
-rw-r--r-- | src/tests/logger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/logger.cpp b/src/tests/logger.cpp index 290f479..59be9d4 100644 --- a/src/tests/logger.cpp +++ b/src/tests/logger.cpp | |||
@@ -22,6 +22,8 @@ int main() | |||
22 | setLogFormat("%L: %y-%02m-%02d %h:%02M:%02s %f:%l:%F: %t"); | 22 | setLogFormat("%L: %y-%02m-%02d %h:%02M:%02s %f:%l:%F: %t"); |
23 | lineLog( 5, "Hey, error: %s", strerror( errno ) ); | 23 | lineLog( 5, "Hey, error: %s", strerror( errno ) ); |
24 | 24 | ||
25 | logHexDump( 5, "This is a test of the hex-dump facility", 16, "Random stuff"); | ||
26 | |||
25 | Thing gh; | 27 | Thing gh; |
26 | gh.go( 6); | 28 | gh.go( 6); |
27 | } | 29 | } |