diff options
author | Max Kellermann <max@duempel.org> | 2013-12-15 17:20:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-15 17:23:45 +0100 |
commit | 73555f9088120b35cfc84d582bd827a1a816a4b1 (patch) | |
tree | 8acc560e63c40e9b3e52213a905ed8eb9d3240cc /src/Log.hxx | |
parent | e1ec65bd53db811bfc66d92346519c43a06b65c7 (diff) | |
download | mpd-73555f9088120b35cfc84d582bd827a1a816a4b1.tar.gz mpd-73555f9088120b35cfc84d582bd827a1a816a4b1.tar.xz mpd-73555f9088120b35cfc84d582bd827a1a816a4b1.zip |
Log: move enum LogLevel to LogLevel.hxx
Diffstat (limited to 'src/Log.hxx')
-rw-r--r-- | src/Log.hxx | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/src/Log.hxx b/src/Log.hxx index 920a8d8a3..c8e166056 100644 --- a/src/Log.hxx +++ b/src/Log.hxx @@ -20,47 +20,12 @@ #ifndef MPD_LOG_HXX #define MPD_LOG_HXX +#include "LogLevel.hxx" #include "Compiler.h" -#ifdef WIN32 -#include <windows.h> -/* damn you, windows.h! */ -#ifdef ERROR -#undef ERROR -#endif -#endif - class Error; class Domain; -enum class LogLevel { - /** - * Debug message for developers. - */ - DEBUG, - - /** - * Unimportant informational message. - */ - INFO, - - /** - * Interesting informational message. - */ - DEFAULT, - - /** - * Warning: something may be wrong. - */ - WARNING, - - /** - * An error has occurred, an operation could not finish - * successfully. - */ - ERROR, -}; - void Log(const Domain &domain, LogLevel level, const char *msg); |