28 #include "Portability.h" 31 #ifndef DOXYGEN_SHOULD_SKIP_THIS 82 static void setLevel(
Level level);
89 static void debug(
const char *fmt, ...) GF_FORMAT(1, 2) {
92 log(Level::Debug, fmt, ap);
101 static void info(
const char *fmt, ...) GF_FORMAT(1, 2) {
104 log(Level::Info, fmt, ap);
113 static void warning(
const char *fmt, ...) GF_FORMAT(1, 2) {
116 log(Level::Warn, fmt, ap);
125 static void error(
const char *fmt, ...) GF_FORMAT(1, 2) {
137 static void fatal(
const char *fmt, ...) GF_FORMAT(1, 2) {
140 log(Level::Fatal, fmt, ap);
147 static Level s_level;
150 static void log(
Level level,
const char *fmt, va_list ap);
153 #ifndef DOXYGEN_SHOULD_SKIP_THIS The fatal level.
Definition: Log.h:74
Level
The severity level of the log.
Definition: Log.h:69
static void error(const char *fmt,...)
Print an error message.
Definition: Log.h:125
The warn level.
Definition: Log.h:72
static void fatal(const char *fmt,...)
Print a fatal message and quit.
Definition: Log.h:137
An error occurred.
Definition: SocketSelector.h:49
The debug level.
Definition: Log.h:70
static void warning(const char *fmt,...)
Print a warning message.
Definition: Log.h:113
The namespace for gf classes.
Definition: Action.h:35
static void info(const char *fmt,...)
Print an info message.
Definition: Log.h:101
Logging functions.
Definition: Log.h:59
static void debug(const char *fmt,...)
Print a debug message.
Definition: Log.h:89
The error level.
Definition: Log.h:73
The info level.
Definition: Log.h:71