diff options
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/logger.h b/src/logger.h index f561e88..0e7d812 100644 --- a/src/logger.h +++ b/src/logger.h | |||
@@ -69,17 +69,18 @@ namespace Bu | |||
69 | virtual ~Logger(); | 69 | virtual ~Logger(); |
70 | 70 | ||
71 | public: | 71 | public: |
72 | void log( int nLevel, const char *sFile, const char *sFunction, int nLine, const char *sFormat, ...); | 72 | void log( uint32_t nLevel, const char *sFile, const char *sFunction, int nLine, const char *sFormat, ...); |
73 | 73 | ||
74 | void setFormat( const Bu::FString &str ); | 74 | void setFormat( const Bu::FString &str ); |
75 | void setMask( int n ); | 75 | void setMask( uint32_t n ); |
76 | void setLevel( int n ); | 76 | void setLevel( uint32_t n ); |
77 | uint32_t getMask(); | ||
77 | 78 | ||
78 | void hexDump( int nLevel, const char *sFile, const char *sFunction, int nLine, const void *pData, long nDataLen, const char *lpName ); | 79 | void hexDump( uint32_t nLevel, const char *sFile, const char *sFunction, int nLine, const void *pData, long nDataLen, const char *lpName ); |
79 | 80 | ||
80 | private: | 81 | private: |
81 | Bu::FString sLogFormat; | 82 | Bu::FString sLogFormat; |
82 | int nLevelMask; | 83 | uint32_t nLevelMask; |
83 | }; | 84 | }; |
84 | } | 85 | } |
85 | 86 | ||