Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::Logger Class Reference
[Core library]

Message logging target base class. More...

#include <plog.h>

List of all members.

Public Member Functions

 Logger ()
virtual ~Logger ()
void setLogLevel (LogLevel l)
LogLevel logLevel () const
virtual void start (const std::string &path)=0
virtual void stop ()=0
virtual void restart ()=0
virtual bool isActive () const=0
virtual void output (const DateTime &t, LogLevel l, const std::string &ident, const std::string &subsys, const char *msg)=0

Static Public Member Functions

std::string logLevel2Str (LogLevel l)
LogLevel str2LogLevel (const std::string &str)


Detailed Description

Message logging target base class.

The base class for all application log message targets.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 56 of file plog.h.


Constructor & Destructor Documentation

P::Logger::Logger  ) 
 

virtual P::Logger::~Logger  )  [virtual]
 


Member Function Documentation

virtual bool P::Logger::isActive  )  const [pure virtual]
 

LogLevel P::Logger::logLevel  )  const [inline]
 

Definition at line 64 of file plog.h.

References P::LogLevel.

std::string P::Logger::logLevel2Str LogLevel  l  )  [static]
 

virtual void P::Logger::output const DateTime t,
LogLevel  l,
const std::string &  ident,
const std::string &  subsys,
const char *  msg
[pure virtual]
 

virtual void P::Logger::restart  )  [pure virtual]
 

void P::Logger::setLogLevel LogLevel  l  )  [inline]
 

Definition at line 61 of file plog.h.

virtual void P::Logger::start const std::string &  path  )  [pure virtual]
 

virtual void P::Logger::stop  )  [pure virtual]
 

LogLevel P::Logger::str2LogLevel const std::string &  str  )  [static]
 


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:34 2004 for P::Classes by doxygen 1.3.3