remotemono
|
#include <log.h>
Classes | |
struct | LogMessage |
Public Types | |
enum | LogLevel { LOG_LEVEL_NONE = 0, LOG_LEVEL_ERROR = 10, LOG_LEVEL_WARNING = 20, LOG_LEVEL_INFO = 30, LOG_LEVEL_DEBUG = 40, LOG_LEVEL_VERBOSE = 50 } |
typedef std::function< void(const LogMessage &)> | LogFunction |
typedef int | LogFunctionID |
Static Public Member Functions | |
static RMonoLogger & | getInstance () |
The singleton class through which RemoteMono logs its various internal operations. You can receive the messages logged by RemoteMono by registering a log function with registerLogFunction()
.
You can also use RMonoStdoutLogFunction::registerLogFunction() for quick and simple logging to stdout.
If you want to actually log a message, consider using one of the global RMonoLog*() functions instead of directly using this class.