diff options
Diffstat (limited to '')
-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; |