wangzhengquan
2020-07-28 b7228c8620a6a0b593f1d8b82af5aac7ba456a85
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __LOGGER_FACTORY_H__
#define __LOGGER_FACTORY_H__
#include "logger.h"
 
class LoggerFactory {
public:
 
    static Logger getLogger() {
//ERROR ALL DEBUG INFO WARN
        static Logger logger(Logger::WARN);
        return logger;
    }
};
 
#endif