#include <stdio.h>
#include <glibmm/ustring.h>
#include "../Utils/Singleton.hh"
Go to the source code of this file.
Data Structures |
| class | Log::Writer |
Namespaces |
| namespace | Log |
| | The namespace provides methods and marcos to interact with Freya's logging utility.
|
Defines |
| #define | _MSG(level, msg,...) Log::Writer::instance().message(__FILE__, __LINE__, level, msg, ##__VA_ARGS__) |
| #define | LogSetVerbosity(X) Log::Writer::instance().set_verbosity((Log::LOGLEVEL)X) |
| #define | LogGetVerbosity Log::Writer::instance().get_verbosity() |
| #define | Warning(msg,...) _MSG(Log::LOG_WARN, msg, ##__VA_ARGS__) |
| #define | Info(msg,...) _MSG(Log::LOG_INFO, msg, ##__VA_ARGS__) |
| #define | Critical(msg,...) _MSG(Log::LOG_CRITICAL, msg, ##__VA_ARGS__) |
| #define | Error(msg,...) _MSG(Log::LOG_ERROR, msg, ##__VA_ARGS__) |
| #define | Debug(msg,...) _MSG(Log::LOG_DEBUG, msg, ##__VA_ARGS__) |
| #define | Success(msg,...) _MSG(Log::LOG_OK, msg, ##__VA_ARGS__) |
Enumerations |
| enum | Log::LOGLEVEL {
Log::LOG_CRITICAL = 1,
Log::LOG_ERROR,
Log::LOG_WARN,
Log::LOG_OK,
Log::LOG_INFO,
Log::LOG_DEBUG,
Log::LOG_NUMS_OF_LEVEL
} |
| | Log severity, influencing the color. More...
|
Define Documentation
| #define _MSG |
( |
|
level, |
|
|
|
msg, |
|
|
|
... |
|
) |
| Log::Writer::instance().message(__FILE__, __LINE__, level, msg, ##__VA_ARGS__) |