diff options
Diffstat (limited to 'src/shared/Log.h')
-rw-r--r-- | src/shared/Log.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shared/Log.h b/src/shared/Log.h index 6ef7f64289e..654f3c0f04c 100644 --- a/src/shared/Log.h +++ b/src/shared/Log.h @@ -29,10 +29,10 @@ class Config; enum LogFilters { - LOG_FILTER_TRANSPORT_MOVES = 0x1, - LOG_FILTER_CREATURE_MOVES = 0x2, - LOG_FILTER_VISIBILITY_CHANGES = 0x4, - LOG_FILTER_ACHIEVEMENT_UPDATES = 0x8 + LOG_FILTER_TRANSPORT_MOVES = 1, + LOG_FILTER_CREATURE_MOVES = 2, + LOG_FILTER_VISIBILITY_CHANGES = 4, + LOG_FILTER_ACHIEVEMENT_UPDATES = 8 }; enum LogTypes @@ -95,7 +95,7 @@ class Log : public Trinity::Singleton<Log, Trinity::ClassLevelLockable<Log, ZThr void SetColor(bool stdout_stream, ColorTypes color); void ResetColor(bool stdout_stream); - void outDB( uint32 type, const char * str, ... ) ATTR_PRINTF(3,4); + void outDB( LogTypes type, const char * str ); void outString( const char * str, ... ) ATTR_PRINTF(2,3); void outString( ); void outError( const char * err, ... ) ATTR_PRINTF(2,3); |