eris  1.4.0
A WorldForge client library.
Log.h
1 #ifndef ERIS_LOG_H
2 #define ERIS_LOG_H
3 
4 #include <sigc++/signal.h>
5 
6 #include <string>
7 
8 namespace Eris {
9 
12 typedef enum {
13  LOG_ERROR = 0,
17  LOG_DEBUG
19 
22 
26 extern sigc::signal<void, LogLevel, const std::string&> Logged;
27 
30 void setLogLevel(LogLevel lvl);
31 
32 LogLevel getLogLevel();
33 
34 }
35 
36 #include "LogStream.h"
37 
38 #endif
Definition: Account.cpp:33
void setLogLevel(LogLevel lvl)
Definition: Log.cpp:19
const LogLevel DEFAULT_LOG
the default logging level for a new connection
Definition: Log.h:21
sigc::signal< void, LogLevel, const std::string & > Logged
Definition: Log.cpp:17
LogLevel
Definition: Log.h:12
@ LOG_VERBOSE
lots of information, about every received operation, for example
Definition: Log.h:16
@ LOG_DEBUG
excessive amounts of stuff
Definition: Log.h:17
@ LOG_WARNING
something is amiss, but probably okay to continue
Definition: Log.h:14
@ LOG_NOTICE
general information
Definition: Log.h:15
@ LOG_ERROR
serious failure indications
Definition: Log.h:13