示例#1
0
文件: Logger.cpp 项目: 1suming/cetty2
Logger::Logger(SourceFile file, int line, bool toAbort)
    : message_(toAbort ? LogLevel::FATAL : LogLevel::ERROR, file.data(), line) {
}
示例#2
0
文件: Logger.cpp 项目: 1suming/cetty2
Logger::Logger(SourceFile file, int line, LogLevel level)
    : message_(level, file.data(), line) {
}
示例#3
0
文件: Logger.cpp 项目: 1suming/cetty2
Logger::Logger(SourceFile file, int line, const char* func, LogLevel level)
    : message_(level, file.data(), line, func) {
}
示例#4
0
文件: Logger.cpp 项目: 1suming/cetty2
Logger::Logger(SourceFile file, int line)
    : message_(LogLevel::INFO, file.data(), line) {
}