00001 #ifndef CLIEVER_LOGGER
00002 #define CLIEVER_LOGGER
00003
00004 #include "log4cpp/Category.hh"
00005 #include "log4cpp/Appender.hh"
00006 #include "log4cpp/FileAppender.hh"
00007 #include "log4cpp/Layout.hh"
00008 #include "log4cpp/BasicLayout.hh"
00009 #include "log4cpp/Priority.hh"
00010
00011 using namespace log4cpp;
00012
00013 class cdLogger {
00014 public:
00015 char *logPath;
00016
00017 cdLogger() {};
00018
00019 void init(const char * = "");
00020 void logN(int n, const char *format, ...);
00021 void logNdebug(int n, const char *format, ...);
00022 void logNdebug(int m, int n, const char *format, ...);
00023 void logNdev(int n, const char *format, ...);
00024
00025 ~cdLogger(){};
00026
00027 };
00028
00029 #endif