TPProto::Logger Class Reference

The logging base class. More...

#include <logger.h>

Inheritance diagram for TPProto::Logger:

TPProto::SilentLogger List of all members.

Public Member Functions

virtual ~Logger ()
 Required virtual destructor.
virtual void error (const char *mesg,...)=0
 Log an error message.
virtual void warning (const char *mesg,...)=0
 Log a warning message.
virtual void info (const char *mesg,...)=0
 Log an info message.
virtual void debug (const char *mesg,...)=0
 Log a debug message.

Detailed Description

The logging base class.

The Logger class is used by the library to write information back to the client. It can be specialised for any application.


Member Function Documentation

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

Log an error message.

Takes a format string and args.

Parameters:
mesg Message format string.

Implemented in TPProto::SilentLogger.

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

Log a warning message.

Takes a format string and args.

Parameters:
mesg Message format string.

Implemented in TPProto::SilentLogger.

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

Log an info message.

Takes a format string and args.

Parameters:
mesg Message format string.

Implemented in TPProto::SilentLogger.

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

Log a debug message.

Takes a format string and args.

Parameters:
mesg Message format string.

Implemented in TPProto::SilentLogger.


The documentation for this class was generated from the following file:
Generated on Thu Nov 20 10:30:43 2008 for libtpproto-cpp by  doxygen 1.5.1