00001 #ifndef TPPROTO_LOGGER_H 00002 #define TPPROTO_LOGGER_H 00003 00008 namespace TPProto{ 00009 00015 class Logger{ 00016 public: 00019 virtual ~Logger(){}; 00020 00026 virtual void error(const char* mesg, ...) = 0; 00027 00033 virtual void warning(const char* mesg, ...) = 0; 00034 00040 virtual void info(const char* mesg, ...) = 0; 00041 00047 virtual void debug(const char* mesg, ...) = 0; 00048 00049 }; 00050 00051 } 00052 00053 #endif
1.5.1