1 #ifndef LOGGING_HEADER_GUARD
2 #define LOGGING_HEADER_GUARD
43 const static int quiet =-3;
44 const static int fatal =-2;
45 const static int silent=-1;
46 const static int normal=0;
47 const static int debug =2;
48 const static int crazy =3;
66 Logger(
int log_level=LogLevel::normal);
74 Logger& operator<<(
const T& x)
78 if (current_level<=log_level) {
90 void setLevel(
int level);
127 Logger& operator<<(LoggerManipulator manip);
135 typedef std::basic_ostream<char, std::char_traits<char> > CoutType;
138 typedef CoutType& (*StandardEndLine)(CoutType&);
141 Logger& operator<<(StandardEndLine manip);
154 extern Logger filterlogger;
156 extern Logger threadlogger;
157 extern Logger livethreadlogger;
158 extern Logger avthreadlogger;
159 extern Logger decoderlogger;
161 extern Logger opengllogger;
163 extern Logger filethreadlogger;
165 extern Logger valkkafslogger;
167 extern void setLogLevel_framelogger(
int level);
168 extern void setLogLevel_filterlogger(
int level);
169 extern void setLogLevel_livelogger(
int level);
170 extern void setLogLevel_threadlogger(
int level);
171 extern void setLogLevel_livethreadlogger(
int level);
172 extern void setLogLevel_avthreadlogger(
int level);
173 extern void setLogLevel_decoderlogger(
int level);
174 extern void setLogLevel_fifologger(
int level);
175 extern void setLogLevel_opengllogger(
int level);
176 extern void setLogLevel_filelogger(
int level);
177 extern void setLogLevel_filethreadlogger(
int level);
178 extern void setLogLevel_usblogger(
int level);
179 extern void setLogLevel_valkkafslogger(
int level);
181 extern void crazy_log_all();
182 extern void debug_log_all();
183 extern void normal_log_all();
184 extern void fatal_log_all();
185 extern void quiet_log_all();
Logger framelogger
Singleton: https://en.wikipedia.org/wiki/Singleton_pattern https://stackoverflow.com/questions/297822...
Definition: logging.cpp:93
Logging facility.
Definition: logging.h:64