Kea
1.9.9-git
|
#include <logger_specification.h>
Public Types | |
typedef std::vector< OutputOption >::const_iterator | const_iterator |
typedef std::vector< OutputOption >::iterator | iterator |
Public Member Functions | |
LoggerSpecification (const std::string &name="", isc::log::Severity severity=isc::log::INFO, int dbglevel=0, bool additive=false) | |
Constructor. More... | |
void | addOutputOption (const OutputOption &option) |
Add output option. More... | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
bool | getAdditive () const |
int | getDbglevel () const |
std::string | getName () const |
isc::log::Severity | getSeverity () const |
size_t | optionCount () const |
void | reset () |
Reset back to defaults. More... | |
void | setAdditive (bool additive) |
Set the additive flag. More... | |
void | setDbglevel (int dbglevel) |
Set the debug level. More... | |
void | setName (const std::string &name) |
Set the name of the logger. More... | |
void | setSeverity (isc::log::Severity severity) |
Set the severity. More... | |
Definition at line 29 of file logger_specification.h.
typedef std::vector<OutputOption>::const_iterator isc::log::LoggerSpecification::const_iterator |
Definition at line 32 of file logger_specification.h.
typedef std::vector<OutputOption>::iterator isc::log::LoggerSpecification::iterator |
Definition at line 31 of file logger_specification.h.
|
inline |
Constructor.
name | Name of the logger. |
severity | Severity at which this logger logs |
dbglevel | Debug level |
additive | true to cause message logged with this logger to be passed to the parent for logging. |
Definition at line 41 of file logger_specification.h.
|
inline |
Add output option.
option | Option to add to the list. |
Definition at line 99 of file logger_specification.h.
Referenced by isc::dhcp::test::LogContentTest::LogContentTest(), isc::log::setDefaultLoggingOutput(), and isc::process::LoggingInfo::toSpec().
|
inline |
Definition at line 104 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Definition at line 109 of file logger_specification.h.
|
inline |
Definition at line 114 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Definition at line 119 of file logger_specification.h.
|
inline |
Definition at line 92 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Definition at line 80 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Definition at line 56 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Definition at line 68 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Definition at line 124 of file logger_specification.h.
Referenced by isc::log::LoggerManagerImpl::processSpecification().
|
inline |
Reset back to defaults.
Definition at line 129 of file logger_specification.h.
References isc::log::INFO.
|
inline |
Set the additive flag.
additive | New value of the additive flag. |
Definition at line 87 of file logger_specification.h.
|
inline |
Set the debug level.
dbglevel | New debug level of the logger. |
Definition at line 75 of file logger_specification.h.
|
inline |
Set the name of the logger.
name | Name of the logger. |
Definition at line 51 of file logger_specification.h.
|
inline |
Set the severity.
severity | New severity of the logger. |
Definition at line 63 of file logger_specification.h.