|
IBR-DTN
1.0.0
|
#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 228 of file Configuration.h.
|
protected |
Definition at line 92 of file Configuration.cpp.
|
protectedvirtual |
Definition at line 129 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 1285 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 1274 of file Configuration.cpp.
Referenced by __daemon_run().
|
protectedvirtual |
Implements dtn::daemon::Configuration::Extension.
Definition at line 414 of file Configuration.cpp.
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 1290 of file Configuration.cpp.
| std::ostream & dtn::daemon::Configuration::Logger::output | ( | ) | const |
The output stream for the logging output
Definition at line 1295 of file Configuration.cpp.
| bool dtn::daemon::Configuration::Logger::quiet | ( | ) | const |
Enable the quiet mode if set to true.
Definition at line 1269 of file Configuration.cpp.
| bool dtn::daemon::Configuration::Logger::verbose | ( | ) | const |
Returns true if verbose logging is activated
Definition at line 1280 of file Configuration.cpp.
Referenced by __daemon_run().
|
friend |
Definition at line 230 of file Configuration.h.
|
protected |
Definition at line 239 of file Configuration.h.
|
protected |
Definition at line 237 of file Configuration.h.
|
protected |
Definition at line 236 of file Configuration.h.
|
protected |
Definition at line 238 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().
|
protected |
Definition at line 240 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().