diff options
author | Mike Buland <eichlan@xagasoft.com> | 2008-06-02 14:40:27 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2008-06-02 14:40:27 +0000 |
commit | b84120127c21e6be693f554d7f170b73faacc09d (patch) | |
tree | 7a1715ff75dfe0e7322cd4c2d1a3f1da47da5681 /src/logger.cpp | |
parent | 711caf2fc55c16272fbcd2bfb9ffe315ecaf5a1a (diff) | |
download | libbu++-b84120127c21e6be693f554d7f170b73faacc09d.tar.gz libbu++-b84120127c21e6be693f554d7f170b73faacc09d.tar.bz2 libbu++-b84120127c21e6be693f554d7f170b73faacc09d.tar.xz libbu++-b84120127c21e6be693f554d7f170b73faacc09d.zip |
Added another helper to Bu::TafGroup, very handy...something happened to the
logger...I guess.
Diffstat (limited to 'src/logger.cpp')
-rw-r--r-- | src/logger.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index af529f5..8cba1b9 100644 --- a/src/logger.cpp +++ b/src/logger.cpp | |||
@@ -155,6 +155,9 @@ void Bu::Logger::hexDump( uint32_t nLevel, const char *sFile, | |||
155 | const char *sFunction, int nLine, const void *pDataV, long nDataLen, | 155 | const char *sFunction, int nLine, const void *pDataV, long nDataLen, |
156 | const char *lpName ) | 156 | const char *lpName ) |
157 | { | 157 | { |
158 | if( (nLevel&nLevelMask) == 0 ) | ||
159 | return; | ||
160 | |||
158 | log( nLevel, sFile, sFunction, nLine, "Displaying %ld bytes of %s.", nDataLen, lpName ); | 161 | log( nLevel, sFile, sFunction, nLine, "Displaying %ld bytes of %s.", nDataLen, lpName ); |
159 | const unsigned char *pData = (const unsigned char *)pDataV; | 162 | const unsigned char *pData = (const unsigned char *)pDataV; |
160 | int j = 0; | 163 | int j = 0; |