29 #include "Portability.h" 32 #ifndef DOXYGEN_SHOULD_SKIP_THIS 60 class GF_CORE_API
Log {
83 static void setLevel(
Level level);
90 static void debug(
const char *fmt, ...) GF_FORMAT(1, 2) {
93 log(Level::Debug, fmt, ap);
102 static void info(
const char *fmt, ...) GF_FORMAT(1, 2) {
105 log(Level::Info, fmt, ap);
114 static void warning(
const char *fmt, ...) GF_FORMAT(1, 2) {
117 log(Level::Warn, fmt, ap);
126 static void error(
const char *fmt, ...) GF_FORMAT(1, 2) {
138 static void fatal(
const char *fmt, ...) GF_FORMAT(1, 2) {
141 log(Level::Fatal, fmt, ap);
148 static Level s_level;
151 static void log(
Level level,
const char *fmt, va_list ap);
154 #ifndef DOXYGEN_SHOULD_SKIP_THIS The fatal level.
Definition: Log.h:75
Level
The severity level of the log.
Definition: Log.h:70
static void error(const char *fmt,...)
Print an error message.
Definition: Log.h:126
The warn level.
Definition: Log.h:73
static void fatal(const char *fmt,...)
Print a fatal message and quit.
Definition: Log.h:138
The debug level.
Definition: Log.h:71
static void warning(const char *fmt,...)
Print a warning message.
Definition: Log.h:114
The namespace for gf classes.
Definition: Action.h:35
static void info(const char *fmt,...)
Print an info message.
Definition: Log.h:102
Logging functions.
Definition: Log.h:60
static void debug(const char *fmt,...)
Print a debug message.
Definition: Log.h:90
The error level.
Definition: Log.h:74
The info level.
Definition: Log.h:72