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

LogStdoutSink Class Reference

#include <logstream.h>

Inheritance diagram for LogStdoutSink:

Inheritance graph
[legend]
Collaboration diagram for LogStdoutSink:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stdout log sink The stdout sink writes log messages to the stdout stream (cout) For an example, look at the documentation for the logstream.h file.

Author:
Cody Russell (cody jhu edu)


Public Member Functions

 LogStdoutSink ()
virtual ~LogStdoutSink ()
virtual void Write (const std::string &rstrMsg)
void SetLogThreshold (unsigned int uiLevel)

Protected Attributes

unsigned int m_uiThreshold


Constructor & Destructor Documentation

LogStdoutSink  ) 
 

virtual ~LogStdoutSink  )  [virtual]
 


Member Function Documentation

virtual void Write const std::string &  rstrMsg  )  [virtual]
 

Write data to stdout

Parameters:
rstrMsg Data to be written

Implements LogSink.

void SetLogThreshold unsigned int  uiLevel  )  [inherited]
 

Set the threshold of loglevel

Parameters:
uiLevel The new loglevel threshold


Member Data Documentation

unsigned int m_uiThreshold [protected, inherited]
 

Loglevel threshold


The documentation for this class was generated from the following file:
Generated on Wed Jan 21 14:21:11 2004 for NeoEngine by doxygen 1.3.5