#include <myrlog.h>
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_ |
Definition at line 47 of file myrlog.h.
rlog::MyStdioNode::MyStdioNode | ( | std::string | prefix = "" , |
|
int | fdOut = 2 | |||
) |
Constructor
fdOut | File descriptor the output is written to. Default is stderr. |
rlog::MyStdioNode::~MyStdioNode | ( | ) | [virtual] |
Definition at line 60 of file myrlog.cpp.
void rlog::MyStdioNode::publish | ( | const RLogData & | data | ) | [protected, virtual] |
Write log message to file. Overridden method. Always uses color, Suppresses file/line info.
data | RLogData object. |
Definition at line 65 of file myrlog.cpp.
References prefix_.
std::string rlog::MyStdioNode::prefix_ [private] |