Implements a stream interface to log messages. This is the file to use in most applications. The LOG_INFO() and the LOG_ERROR() macros is wrap around the location calls.
#include <sstream>
#include <string>
#include "util/logging.h"
Go to the source code of this file.
|
namespace | util |
| Main namespace for the util library.
|
namespace | util::log |
| The log namespace is used for log related classes and functions.
|
◆ LOG_ALERT
Value:
This class implements a stream interface around a log message.
Definition logstream.h:68
@ kAlert
Alert or alarm message.
Definition logging.h:29
◆ LOG_CRITICAL
Value:
@ kCritical
Critical message (device error)
Definition logging.h:28
◆ LOG_DEBUG
Value:
@ kDebug
Debug message.
Definition logging.h:23
◆ LOG_EMERGENCY
#define LOG_EMERGENCY |
( |
| ) |
|
Value:
@ kEmergency
Fatal error message.
Definition logging.h:30
◆ LOG_ERROR
Value:
@ kError
Error message.
Definition logging.h:27
◆ LOG_INFO
Value:
@ kInfo
Informational message.
Definition logging.h:24
◆ LOG_NOTICE
Value:
@ kNotice
Notice message. Notify the user.
Definition logging.h:25
◆ LOG_TRACE
Value:
@ kTrace
Trace or listen message.
Definition logging.h:22
◆ LOG_WARNING
Value:
@ kWarning
Warning message.
Definition logging.h:26