|
IBR-DTNSuite 0.6
|
#include <Configuration.h>


Public Member Functions | |
| bool | quiet () const |
| const ibrcommon::File & | getLogfile () const |
| unsigned int | options () const |
| std::ostream & | output () const |
| bool | display_timestamps () const |
Protected Member Functions | |
| Logger () | |
| virtual | ~Logger () |
| void | load (const ibrcommon::ConfigFile &conf) |
Protected Attributes | |
| bool | _quiet |
| unsigned int | _options |
| bool | _timestamps |
| ibrcommon::File | _logfile |
Friends | |
| class | Configuration |
Definition at line 258 of file Configuration.h.
| dtn::daemon::Configuration::Logger::Logger | ( | ) | [protected] |
Definition at line 79 of file Configuration.cpp.
| dtn::daemon::Configuration::Logger::~Logger | ( | ) | [protected, virtual] |
Definition at line 96 of file Configuration.cpp.
| bool dtn::daemon::Configuration::Logger::display_timestamps | ( | ) | const |
Returns true if the logger display timestamp instead of datetime values.
Definition at line 875 of file Configuration.cpp.
Referenced by __daemon_run().
| const ibrcommon::File & dtn::daemon::Configuration::Logger::getLogfile | ( | ) | const |
Get a logfile for standard logging output
Definition at line 869 of file Configuration.cpp.
Referenced by __daemon_run().
| void dtn::daemon::Configuration::Logger::load | ( | const ibrcommon::ConfigFile & | conf | ) | [protected, virtual] |
Implements dtn::daemon::Configuration::Extension.
Definition at line 313 of file Configuration.cpp.
References ibrcommon::ConfigFile::read().
Referenced by dtn::daemon::Configuration::load().

| unsigned int dtn::daemon::Configuration::Logger::options | ( | ) | const |
Get the options for logging. This is an unsigned integer with bit flags. 1 = DATETIME 2 = HOSTNAME 4 = LEVEL 8 = TIMESTAMP
Definition at line 880 of file Configuration.cpp.
| std::ostream & dtn::daemon::Configuration::Logger::output | ( | ) | const |
The output stream for the logging output
Definition at line 885 of file Configuration.cpp.
| bool dtn::daemon::Configuration::Logger::quiet | ( | ) | const |
Enable the quiet mode if set to true.
Definition at line 864 of file Configuration.cpp.
friend class Configuration [friend] |
Definition at line 260 of file Configuration.h.
Definition at line 269 of file Configuration.h.
unsigned int dtn::daemon::Configuration::Logger::_options [protected] |
Definition at line 267 of file Configuration.h.
bool dtn::daemon::Configuration::Logger::_quiet [protected] |
Definition at line 266 of file Configuration.h.
bool dtn::daemon::Configuration::Logger::_timestamps [protected] |
Definition at line 268 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().