TPProto::SilentLogger Class Reference

A Logger that silently discards all messages. More...

#include <silentlogger.h>

Inheritance diagram for TPProto::SilentLogger:

TPProto::Logger List of all members.

Public Member Functions

 SilentLogger ()
 Default constructor.
virtual ~SilentLogger ()
 Required virtual destructor.
void error (const char *mesg,...)
 Drops error message.
void warning (const char *mesg,...)
 Drops a warning message.
void info (const char *mesg,...)
 Drops an info message.
void debug (const char *mesg,...)
 Drops a debug message.

Detailed Description

A Logger that silently discards all messages.


Member Function Documentation

void TPProto::SilentLogger::error ( const char *  mesg,
  ... 
) [virtual]

Drops error message.

Takes a format string and args.

Parameters:
mesg Message format string to be ignored.

Implements TPProto::Logger.

void TPProto::SilentLogger::warning ( const char *  mesg,
  ... 
) [virtual]

Drops a warning message.

Takes a format string and args.

Parameters:
mesg Message format string to be ignored.

Implements TPProto::Logger.

void TPProto::SilentLogger::info ( const char *  mesg,
  ... 
) [virtual]

Drops an info message.

Takes a format string and args.

Parameters:
mesg Message format string to be ignored.

Implements TPProto::Logger.

void TPProto::SilentLogger::debug ( const char *  mesg,
  ... 
) [virtual]

Drops a debug message.

Takes a format string and args.

Parameters:
mesg Message format string to be ignored.

Implements TPProto::Logger.


The documentation for this class was generated from the following files:
Generated on Thu Nov 20 11:15:44 2008 for libtpproto-cpp by  doxygen 1.5.1