摘要: StdLogger.h#ifndef STDLOGGER_H#define STDLOGGER_H#include <log4cplus/logger.h>#include <log4cplus/configurator.h>#include <log4cplus/helpers/loglog.h>#include <log4cplus/consoleappender.h>#include <log4cplus/fileappender.h>class StdLogger{public: StdLogger(); virtual ~S 阅读全文
posted @ 2012-05-04 18:20 笑笑小白 阅读(804) 评论(0) 推荐(0) 编辑
摘要: log4cplus 的configure.h 中注释如下:/** * Read configuration from a file. <b>The existing configuration is * not cleared nor reset.</b> If you require a different behavior, * then call {@link BasicConfigurator#resetConfiguration * resetConfiguration} method before calling ... 阅读全文
posted @ 2012-05-04 09:52 笑笑小白 阅读(4424) 评论(0) 推荐(0) 编辑