#include <logger.h>
Inheritance diagram for TPProto::Logger:

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. | |
The Logger class is used by the library to write information back to the client. It can be specialised for any application.
| virtual void TPProto::Logger::error | ( | const char * | mesg, | |
| ... | ||||
| ) | [pure virtual] |
Log an error message.
Takes a format string and args.
| 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.
| 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.
| 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.
| mesg | Message format string. |
Implemented in TPProto::SilentLogger.
1.5.1