diff options
-rw-r--r-- | include/filelogger.h | 15 | ||||
-rw-r--r-- | include/logger.h | 11 |
2 files changed, 11 insertions, 15 deletions
diff --git a/include/filelogger.h b/include/filelogger.h index 091dc9a03..94456fecc 100644 --- a/include/filelogger.h +++ b/include/filelogger.h @@ -22,21 +22,6 @@ #include "logger.h" -/** Logging levels for use with InspIRCd::Log() - * */ -enum LogLevel -{ - LOG_RAWIO = 5, - LOG_DEBUG = 10, - LOG_VERBOSE = 20, - LOG_DEFAULT = 30, - LOG_SPARSE = 40, - LOG_NONE = 50 -}; - -/* Forward declaration -- required */ -class InspIRCd; - /** A logging class which logs to a streamed file. */ class CoreExport FileLogStream : public LogStream diff --git a/include/logger.h b/include/logger.h index 7b4c45f1c..0f95ad873 100644 --- a/include/logger.h +++ b/include/logger.h @@ -20,6 +20,17 @@ #pragma once +/** Levels at which messages can be logged. */ +enum LogLevel +{ + LOG_RAWIO = 5, + LOG_DEBUG = 10, + LOG_VERBOSE = 20, + LOG_DEFAULT = 30, + LOG_SPARSE = 40, + LOG_NONE = 50 +}; + /** Simple wrapper providing periodic flushing to a disk-backed file. */ class CoreExport FileWriter |