Logger
![]() | format (const std::string& base64String) Formats a base64 string into 64 character lines seperated by newlines |
![]() | deformat (const std::string& base64String) Removes all formating (spaces, line returns etc |
![]() | ~Logger () Destroys this object |
![]() | hasBeenInitialized () Returns true if init has been called |
![]() | init (const string& id, string& message) Returns a Logger given an identity string specified by id |
![]() | init (const string& id, const Properties& props, string& message) |
![]() | write (int level, const string& key, const string& message) Writes this log to the destination provided that level is less than or equal to the logging level specified in the config file |
![]() | setLevel (int level) Sets the logging level for this Logger to level |
![]() | flush () |
![]() | doWrite (int, const string&, const string&, const string&) |
![]() | doSetLevel (int) |
![]() | doFlush () |
Logger.
static std::string deformat(const std::string& base64String)
virtual ~Logger()
static bool hasBeenInitialized()
static Logger* init(const string& id, string& message)
message - string out parameter that stores the outcome of init
static Logger* init(const string& id, const Properties& props, string& message)
static int write(int level, const string& key, const string& message)
keyword - string application-specific event label
message - string message to be logged
static int setLevel(int level)
static void flush()
virtual int doWrite(int, const string&, const string&, const string&)
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de