From f5c631ef8641db6455bed23c02e5a39f63f7d6d0 Mon Sep 17 00:00:00 2001 From: danieldg Date: Fri, 19 Mar 2010 18:06:39 +0000 Subject: 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 --- src/logger.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/logger.cpp') 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; } -- cgit v1.2.3