|
IBR-DTNSuite
0.10
|
#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 |
| bool | verbose () 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 |
| bool | _verbose |
Friends | |
| class | Configuration |
Definition at line 225 of file Configuration.h.
|
protected |
Definition at line 94 of file Configuration.cpp.
|
protectedvirtual |
Definition at line 125 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 1119 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 1108 of file Configuration.cpp.
Referenced by __daemon_run().
|
protectedvirtual |
Implements dtn::daemon::Configuration::Extension.
Definition at line 374 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 1124 of file Configuration.cpp.
| std::ostream & dtn::daemon::Configuration::Logger::output | ( | ) | const |
The output stream for the logging output
Definition at line 1129 of file Configuration.cpp.
| bool dtn::daemon::Configuration::Logger::quiet | ( | ) | const |
Enable the quiet mode if set to true.
Definition at line 1103 of file Configuration.cpp.
| bool dtn::daemon::Configuration::Logger::verbose | ( | ) | const |
Returns true if verbose logging is activated
Definition at line 1114 of file Configuration.cpp.
Referenced by __daemon_run().
|
friend |
Definition at line 227 of file Configuration.h.
|
protected |
Definition at line 236 of file Configuration.h.
|
protected |
Definition at line 234 of file Configuration.h.
|
protected |
Definition at line 233 of file Configuration.h.
|
protected |
Definition at line 235 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().
|
protected |
Definition at line 237 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().