Logger interface and severity levels. More...
Classes | |
class | mi::base::ILogger |
The ILogger interface class supports logging of messages. More... | |
class | mi::base::Log_stream |
Adapts mi::base::ILogger to a standard streaming interface. More... | |
Enumerations | |
enum | mi::base::Message_severity { mi::base::MESSAGE_SEVERITY_FATAL = 0, mi::base::MESSAGE_SEVERITY_ERROR = 1, mi::base::MESSAGE_SEVERITY_WARNING = 2, mi::base::MESSAGE_SEVERITY_INFO = 3, mi::base::MESSAGE_SEVERITY_VERBOSE = 4, mi::base::MESSAGE_SEVERITY_DEBUG = 5 } |
Constants for possible message severities. More... | |
Functions | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | mi::base::fatal (std::basic_ostream< C, T > &ostream) |
Manipulator for mi::base::Log_stream. More... | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | mi::base::error (std::basic_ostream< C, T > &ostream) |
Manipulator for mi::base::Log_stream. More... | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | mi::base::warning (std::basic_ostream< C, T > &ostream) |
Manipulator for mi::base::Log_stream. More... | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | mi::base::info (std::basic_ostream< C, T > &ostream) |
Manipulator for mi::base::Log_stream. More... | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | mi::base::verbose (std::basic_ostream< C, T > &ostream) |
Manipulator for mi::base::Log_stream. More... | |
template<typename C , typename T > | |
std::basic_ostream< C, T > & | mi::base::debug (std::basic_ostream< C, T > &ostream) |
Manipulator for mi::base::Log_stream. More... | |
Logger interface and severity levels.
#include <mi/base/ilogger.h>
Constants for possible message severities.
std::basic_ostream<C, T>& mi::base::debug | ( | std::basic_ostream< C, T > & | ostream) |
Manipulator for mi::base::Log_stream.
Flushes the buffer if not empty, and sets the log level of the next message to MESSAGE_SEVERITY_DEBUG.
std::basic_ostream<C, T>& mi::base::error | ( | std::basic_ostream< C, T > & | ostream) |
Manipulator for mi::base::Log_stream.
Flushes the buffer if not empty, and sets the log level of the next message to MESSAGE_SEVERITY_ERROR.
std::basic_ostream<C, T>& mi::base::fatal | ( | std::basic_ostream< C, T > & | ostream) |
Manipulator for mi::base::Log_stream.
Flushes the buffer if not empty, and sets the log level of the next message to MESSAGE_SEVERITY_FATAL.
std::basic_ostream<C, T>& mi::base::info | ( | std::basic_ostream< C, T > & | ostream) |
Manipulator for mi::base::Log_stream.
Flushes the buffer if not empty, and sets the log level of the next message to MESSAGE_SEVERITY_INFO.
std::basic_ostream<C, T>& mi::base::verbose | ( | std::basic_ostream< C, T > & | ostream) |
Manipulator for mi::base::Log_stream.
Flushes the buffer if not empty, and sets the log level of the next message to MESSAGE_SEVERITY_VERBOSE.
std::basic_ostream<C, T>& mi::base::warning | ( | std::basic_ostream< C, T > & | ostream) |
Manipulator for mi::base::Log_stream.
Flushes the buffer if not empty, and sets the log level of the next message to MESSAGE_SEVERITY_WARNING.