Пример #1
0
Logger::Logger(SourceFile file, int line, bool toAbort)
    : message_(toAbort ? LogLevel::FATAL : LogLevel::ERROR, file.data(), line) {
}
Пример #2
0
Logger::Logger(SourceFile file, int line, LogLevel level)
    : message_(level, file.data(), line) {
}
Пример #3
0
Logger::Logger(SourceFile file, int line, const char* func, LogLevel level)
    : message_(level, file.data(), line, func) {
}
Пример #4
0
Logger::Logger(SourceFile file, int line)
    : message_(LogLevel::INFO, file.data(), line) {
}