IBR-DTNSuite
0.12
|
#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 218 of file Configuration.h.
|
protected |
Definition at line 91 of file Configuration.cpp.
|
protectedvirtual |
Definition at line 128 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 1252 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 1241 of file Configuration.cpp.
Referenced by __daemon_run().
|
protectedvirtual |
Implements dtn::daemon::Configuration::Extension.
Definition at line 410 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 1257 of file Configuration.cpp.
std::ostream & dtn::daemon::Configuration::Logger::output | ( | ) | const |
The output stream for the logging output
Definition at line 1262 of file Configuration.cpp.
bool dtn::daemon::Configuration::Logger::quiet | ( | ) | const |
Enable the quiet mode if set to true.
Definition at line 1236 of file Configuration.cpp.
bool dtn::daemon::Configuration::Logger::verbose | ( | ) | const |
Returns true if verbose logging is activated
Definition at line 1247 of file Configuration.cpp.
Referenced by __daemon_run().
|
friend |
Definition at line 220 of file Configuration.h.
|
protected |
Definition at line 229 of file Configuration.h.
|
protected |
Definition at line 227 of file Configuration.h.
|
protected |
Definition at line 226 of file Configuration.h.
|
protected |
Definition at line 228 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().
|
protected |
Definition at line 230 of file Configuration.h.
Referenced by dtn::daemon::Configuration::params().