rlog::MyStdioNode Class Reference

#include <myrlog.h>

List of all members.

Public Member Functions

 MyStdioNode (std::string prefix="", int fdOut=2)
virtual ~MyStdioNode ()

Protected Member Functions

virtual void publish (const RLogData &data)

Private Attributes

std::string prefix_


Detailed Description

Customised StdioNode class: always use color, suppress file/line info.

Definition at line 47 of file myrlog.h.


Constructor & Destructor Documentation

rlog::MyStdioNode::MyStdioNode ( std::string  prefix = "",
int  fdOut = 2 
)

Constructor

Parameters:
fdOut File descriptor the output is written to. Default is stderr.

rlog::MyStdioNode::~MyStdioNode (  )  [virtual]

Definition at line 60 of file myrlog.cpp.


Member Function Documentation

void rlog::MyStdioNode::publish ( const RLogData &  data  )  [protected, virtual]

Write log message to file. Overridden method. Always uses color, Suppresses file/line info.

Parameters:
data RLogData object.

Definition at line 65 of file myrlog.cpp.

References prefix_.


Member Data Documentation

std::string rlog::MyStdioNode::prefix_ [private]

String that is written after time-stamp.

Definition at line 68 of file myrlog.h.

Referenced by publish().


The documentation for this class was generated from the following files:
Generated on Fri Oct 26 13:35:18 2007 for FEMAXX (Finite Element Maxwell Eigensolver) by  doxygen 1.4.7