#include <tee.h>
Public Member Functions | |
virtual | ~logging_tee () |
logging_tee (logging *lhs, logging *rhs) | |
Protected Member Functions | |
void | deliver_message_text (const char *txt) |
Private Member Functions | |
logging_tee () | |
logging_tee (const logging_tee &) | |
logging_tee & | operator= (const logging_tee &) |
Private Attributes | |
logging * | lhs |
logging * | rhs |
The plumbing::logging_tee class is used to represent a logging stream which can deliver the messages to two destinations simultaneously.
Definition at line 29 of file tee.h.
plumbing::logging_tee::~logging_tee | ( | ) | [virtual] |
plumbing::logging_tee::logging_tee | ( | ) | [private] |
The default constructor. Do not use.
plumbing::logging_tee::logging_tee | ( | const logging_tee & | ) | [private] |
The copy constructor. Do not use.
void plumbing::logging_tee::deliver_message_text | ( | const char * | txt | ) | [protected, virtual] |
The deliver_message_text method is used to actually deliver a log message to the logging medium. All formatting has been completed, the text requires no further substitutions.
Implements plumbing::logging.
logging_tee& plumbing::logging_tee::operator= | ( | const logging_tee & | ) | [private] |
The assignment operator. Do not use.
logging* plumbing::logging_tee::lhs [private] |
logging* plumbing::logging_tee::rhs [private] |