diff options
author | Peter Powell <petpow@saberuk.com> | 2013-04-19 06:53:37 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-05-19 03:22:54 +0100 |
commit | ad0828aa6431021df45563d34de9976b2d303098 (patch) | |
tree | 312d70a6241c3680eaa2dea19cc8e91c7e5bb8dc /include | |
parent | ac726c8896d3bb136d6da854bd728118e75ec914 (diff) |
Move LogHeader to LogStream.
Diffstat (limited to 'include')
-rw-r--r-- | include/inspircd.h | 2 | ||||
-rw-r--r-- | include/logger.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/inspircd.h b/include/inspircd.h index 9a9583499..b55c4c014 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -324,8 +324,6 @@ class CoreExport InspIRCd */ FakeUser* FakeClient; - static const char LogHeader[]; - /** Find a user in the UUID hash * @param uid The UUID to find * @return A pointer to the user, or NULL if the user does not exist diff --git a/include/logger.h b/include/logger.h index 0f95ad873..6bf64801f 100644 --- a/include/logger.h +++ b/include/logger.h @@ -89,6 +89,8 @@ class CoreExport LogStream : public classbase protected: int loglvl; public: + static const char LogHeader[]; + LogStream(int loglevel) : loglvl(loglevel) { } @@ -137,7 +139,6 @@ class CoreExport LogManager FileLogMap FileLogs; public: - LogManager(); ~LogManager(); |