diff options
author | Chris Wilson <chris+github@qwirx.com> | 2014-04-09 22:15:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2014-04-09 22:15:49 +0000 |
commit | e6fe203cf40a3542cb6949187387f2ab018bc762 (patch) | |
tree | 0e16a401e7cd0d4bdf55381634371d784ae10075 /lib/server/Daemon.h | |
parent | 9a15b3e3157068c3be87dca325abc52ece6e6ff1 (diff) |
Refactor logging option processing out of Daemon class.
Allows command-line tools to reuse the same option processing.
Diffstat (limited to 'lib/server/Daemon.h')
-rw-r--r-- | lib/server/Daemon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/server/Daemon.h b/lib/server/Daemon.h index 2718c288..923053c6 100644 --- a/lib/server/Daemon.h +++ b/lib/server/Daemon.h @@ -99,7 +99,7 @@ private: bool mRunInForeground; bool mKeepConsoleOpenAfterFork; bool mHaveConfigFile; - int mLogLevel; // need an int to do math with + Logging::OptionParser mLogLevel; std::string mLogFile; Log::Level mLogFileLevel; std::auto_ptr<FileLogger> mapLogFileLogger; |