25 #ifndef __UTILS_LOGGING_FILE_H_ 26 #define __UTILS_LOGGING_FILE_H_ 28 #include <logging/logger.h> 42 virtual void log_debug(
const char *component,
const char *format, ...);
43 virtual void log_info(
const char *component,
const char *format, ...);
44 virtual void log_warn(
const char *component,
const char *format, ...);
45 virtual void log_error(
const char *component,
const char *format, ...);
47 virtual void vlog_debug(
const char *component,
const char *format, va_list va);
48 virtual void vlog_info(
const char *component,
const char *format, va_list va);
49 virtual void vlog_warn(
const char *component,
const char *format, va_list va);
50 virtual void vlog_error(
const char *component,
const char *format, va_list va);
58 virtual void tlog_debug(
struct timeval *t,
const char *component,
const char *format, ...);
59 virtual void tlog_info(
struct timeval *t,
const char *component,
const char *format, ...);
60 virtual void tlog_warn(
struct timeval *t,
const char *component,
const char *format, ...);
61 virtual void tlog_error(
struct timeval *t,
const char *component,
const char *format, ...);
68 virtual void vtlog_debug(
struct timeval *t,
const char *component,
69 const char *format, va_list va);
70 virtual void vtlog_info(
struct timeval *t,
const char *component,
71 const char *format, va_list va);
72 virtual void vtlog_warn(
struct timeval *t,
const char *component,
73 const char *format, va_list va);
74 virtual void vtlog_error(
struct timeval *t,
const char *component,
75 const char *format, va_list va);
virtual void tlog_info(struct timeval *t, const char *component, const char *format,...)
Log informational message for specific time.
Interface for logging to a specified file.
Fawkes library namespace.
virtual void log_error(const char *component, const char *format,...)
Log error message.
virtual void tlog_debug(struct timeval *t, const char *component, const char *format,...)
Log debug message for specific time.
FileLogger(const char *filename, LogLevel min_level=LL_DEBUG)
Constructor.
virtual void vtlog_debug(struct timeval *t, const char *component, const char *format, va_list va)
Log debug message for specific time.
virtual void vlog_debug(const char *component, const char *format, va_list va)
Log debug message.
virtual void vlog_info(const char *component, const char *format, va_list va)
Log informational message.
virtual ~FileLogger()
Destructor.
Base class for exceptions in Fawkes.
virtual void tlog_warn(struct timeval *t, const char *component, const char *format,...)
Log warning message for specific time.
virtual void vlog_warn(const char *component, const char *format, va_list va)
Log warning message.
virtual void tlog_error(struct timeval *t, const char *component, const char *format,...)
Log error message for specific time.
debug output, relevant only when tracking down problems
virtual void log_warn(const char *component, const char *format,...)
Log warning message.
virtual void vlog_error(const char *component, const char *format, va_list va)
Log error message.
virtual void vtlog_info(struct timeval *t, const char *component, const char *format, va_list va)
Log informational message for specific time.
virtual void vtlog_warn(struct timeval *t, const char *component, const char *format, va_list va)
Log warning message for specific time.
virtual void vtlog_error(struct timeval *t, const char *component, const char *format, va_list va)
Log error message for specific time.
Mutex mutual exclusion lock.
virtual void log_debug(const char *component, const char *format,...)
Log debug message.
virtual void log_info(const char *component, const char *format,...)
Log informational message.