log4tango::Logger(3) | log4tango | log4tango::Logger(3) |
log4tango::Logger
#include <Logger.hh>
Inherits log4tango::AppenderAttachable.
Logger (const std::string &name, Level::Value
level=Level::OFF)
Constructor. virtual ~Logger ()
Destructor. const std::string & get_name () const
Return the logger name. void set_level (Level::Value level)
Set the level of this Logger (silently ignores invalid values)
Level::Value get_level () const
Returns the assigned Level, if any, for this Logger. bool
is_level_enabled (Level::Value level) const
Returns true if the level of the Logger is equal to or higher than
given level. void log (Level::Value level, const char
*string_format,...)
Log a message with the specified level. void log (Level::Value
level, const std::string &message)
Log a message with the specified level. void log_unconditionally
(Level::Value level, const char *string_format,...)
Log a message with the specified level without level checking. void
log_unconditionally (Level::Value level, const std::string
&message)
Log a message with the specified level without level checking. void
debug (const char *string_format,...)
Log a message with debug level. void debug (const std::string
&message)
Log a message with debug level. bool is_debug_enabled (void) const
Return true if the Logger will log messages with level DEBUG.
LoggerStream debug_stream (void)
Return a LoggerStream with level DEBUG. void info (const char
*string_format,...)
Log a message with info level. void info (const std::string
&message)
Log a message with info level. bool is_info_enabled (void) const
Return true if the Logger will log messages with level INFO.
LoggerStream info_stream (void)
Return a LoggerStream with level INFO. void warn (const char
*string_format,...)
Log a message with warn level. void warn (const std::string
&message)
Log a message with warn level. bool is_warn_enabled (void) const
Return true if the Logger will log messages with level WARN.
LoggerStream warn_stream (void)
Return a LoggerStream with level WARN. void error (const char
*string_format,...)
Log a message with error level. void error (const std::string
&message)
Log a message with error level. bool is_error_enabled (void) const
Return true if the Logger will log messages with level ERROR.
LoggerStream error_stream (void)
Return a LoggerStream with level ERROR. void fatal (const char
*string_format,...)
Log a message with fatal level. void fatal (const std::string
&message)
Log a message with fatal level. bool is_fatal_enabled (void) const
Return true if the Logger will log messages with level FATAL.
LoggerStream fatal_stream (void)
Return a LoggerStream with level FATAL. LoggerStream
get_stream (Level::Value level, bool filter=true)
Return a LoggerStream with given Level.
void call_appenders (const LoggingEvent &event)
Call the appenders.
Constructor.
Parameters
Destructor.
Call the appenders.
Parameters
Log a message with debug level.
Parameters
Log a message with debug level.
Parameters
Return a LoggerStream with level DEBUG.
Returns
Log a message with error level.
Parameters
Log a message with error level.
Parameters
Return a LoggerStream with level ERROR.
Returns
Log a message with fatal level.
Parameters
Log a message with fatal level.
Parameters
Return a LoggerStream with level FATAL.
Returns
Returns the assigned Level, if any, for this Logger.
Returns
Return the logger name.
Returns
Return a LoggerStream with given Level.
Parameters
Returns
Log a message with info level.
Parameters
Log a message with info level.
Parameters
Return a LoggerStream with level INFO.
Returns
Return true if the Logger will log messages with level DEBUG.
Returns
Return true if the Logger will log messages with level ERROR.
Returns
Return true if the Logger will log messages with level FATAL.
Returns
Return true if the Logger will log messages with level INFO.
Returns
Returns true if the level of the Logger is equal to or higher than given level.
Parameters
Returns
Return true if the Logger will log messages with level WARN.
Returns
Log a message with the specified level.
Parameters
Log a message with the specified level.
Parameters
Log a message with the specified level without level checking.
Parameters
Log a message with the specified level without level checking.
Parameters
Set the level of this Logger (silently ignores invalid values)
Parameters
Log a message with warn level.
Parameters
Log a message with warn level.
Parameters
Return a LoggerStream with level WARN.
Returns
Generated automatically by Doxygen for log4tango from the source code.
Sat Jan 9 2021 | Version 5.0.2 |