WpcLogger Class Reference
[Classes hierarchy]

Base class for logging operations. More...

List of all members.

Public Member Functions

void SetLogLevel (WpcLogLevel lev)
 Sets current logging level.
WpcLogLevel GetLogLevel ()
 Gets current logging level.
virtual void LogMessage (WpcLogLevel, string)
 Write single string to default logging stream.
virtual void LogFormat (WpcLogLevel, string,...)
 Write formatted string to default logging stream.
virtual void LogFormat (WpcLogLevel, string, va_list args)
 Write formatted string to default logging stream.

Protected Attributes

WpcLogLevel m_level
 Maximum level of messages which will be "printed".


Detailed Description

Base class for logging operations.

Member Function Documentation

WpcLogLevel WpcLogger::GetLogLevel (  )  [inline]

Gets current logging level.

void WpcLogger::LogFormat ( WpcLogLevel  lev,
string  format,
va_list  args 
) [virtual]

Write formatted string to default logging stream.

void WpcLogger::LogFormat ( WpcLogLevel  lev,
string  format,
  ... 
) [virtual]

Write formatted string to default logging stream.

void WpcLogger::LogMessage ( WpcLogLevel  lev,
string  str 
) [virtual]

Write single string to default logging stream.

void WpcLogger::SetLogLevel ( WpcLogLevel  lev  )  [inline]

Sets current logging level.


Member Data Documentation

WpcLogLevel WpcLogger::m_level [protected]

Maximum level of messages which will be "printed".



 
©2009 Positive Technologies
 
Generated on Fri May 22 18:17:01 2009 for wpcObj by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads