summaryrefslogtreecommitdiff
path: root/src/logger.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-19 18:06:39 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-03-19 18:06:39 +0000
commitf5c631ef8641db6455bed23c02e5a39f63f7d6d0 (patch)
tree8ec20bf2905c515d2404f4842091cbde04b93175 /src/logger.cpp
parent8fe3af5218fa01f9027d47bc23515ac1de82c839 (diff)
Add RAWIO log level which is more verbose than DEBUG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12646 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/logger.cpp')
-rw-r--r--src/logger.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 8c9d9a79b..ac171027c 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -69,7 +69,12 @@ void LogManager::OpenFileLogs()
std::string type = tag->getString("type");
std::string level = tag->getString("level");
int loglevel = DEFAULT;
- if (level == "debug")
+ if (level == "rawio")
+ {
+ loglevel = RAWIO;
+ ServerInstance->Config->RawLog = true;
+ }
+ else if (level == "debug")
{
loglevel = DEBUG;
}