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
8namespace Eris {
9
12typedef enum {
19
22
26extern sigc::signal<void, LogLevel, const std::string&> Logged;
27
30void setLogLevel(LogLevel lvl);
31
32LogLevel 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