#include <cstdarg>
#include <cstring>
#include <string>
Go to the source code of this file.
|
| typedef void(* | yasmin::LogFunction) (LogLevel level, const char *file, const char *function, int line, const char *text) |
| | Type definition for a logging function.
|
| |
◆ YASMIN_LOG_DEBUG
| #define YASMIN_LOG_DEBUG |
( |
| text, |
|
|
| ... ) |
Value:
yasmin::log_helper<yasmin::DEBUG>(extract_filename(__FILE__), __FUNCTION__, \
__LINE__, text, ##__VA_ARGS__)
LogLevel log_level
The current log level for the application.
Definition logs.cpp:41
@ DEBUG
Definition logs.hpp:44
◆ YASMIN_LOG_ERROR
| #define YASMIN_LOG_ERROR |
( |
| text, |
|
|
| ... ) |
Value:
yasmin::log_helper<yasmin::ERROR>(extract_filename(__FILE__), __FUNCTION__, \
__LINE__, text, ##__VA_ARGS__)
@ ERROR
Log level for error messages. Only critical errors should be logged.
Definition logs.hpp:35
◆ YASMIN_LOG_INFO
| #define YASMIN_LOG_INFO |
( |
| text, |
|
|
| ... ) |
Value:
yasmin::log_helper<yasmin::INFO>(extract_filename(__FILE__), __FUNCTION__, \
__LINE__, text, ##__VA_ARGS__)
@ INFO
Definition logs.hpp:41
◆ YASMIN_LOG_WARN
| #define YASMIN_LOG_WARN |
( |
| text, |
|
|
| ... ) |
Value:
yasmin::log_helper<yasmin::WARN>(extract_filename(__FILE__), __FUNCTION__, \
__LINE__, text, ##__VA_ARGS__)
@ WARN
Definition logs.hpp:38