diff options
| author | XTZGZoReX <none@none> | 2009-03-20 21:02:08 +0100 |
|---|---|---|
| committer | XTZGZoReX <none@none> | 2009-03-20 21:02:08 +0100 |
| commit | 7f9ff5f4cbd95541ff83f6d7428ed8fefa329616 (patch) | |
| tree | 56db5fdb022dca132eeb4b7c0006a2f60273b035 /src/shared/Log.h | |
| parent | 7cd9a01954f6905dfb0e6a113b5799cc2442a39e (diff) | |
* Re-implementing timestamps in log files. (Note: Does not work on console yet.)
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Log.h')
| -rw-r--r-- | src/shared/Log.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/shared/Log.h b/src/shared/Log.h index 40ef7f19c20..f5596b254e5 100644 --- a/src/shared/Log.h +++ b/src/shared/Log.h @@ -109,12 +109,14 @@ class Log : public Trinity::Singleton<Log, Trinity::ClassLevelLockable<Log, ZThr void outRemote( const char * str, ... ) ATTR_PRINTF(2,3); void outCharDump( const char * str, uint32 account_id, uint32 guid, const char * name ); + static void outTimestamp(FILE* file); + static std::string GetTimestampStr(); + void SetLogLevel(char * Level); void SetLogFileLevel(char * Level); void SetDBLogLevel(char * Level); void SetRealmID(uint32 id) { realm = id; } - static std::string GetTimestampStr(); uint32 getLogFilter() const { return m_logFilter; } bool IsOutDebug() const { return m_logLevel > 2 || (m_logFileLevel > 2 && logfile); } bool IsOutCharDump() const { return m_charLog_Dump; } |
