10 __android_log_write(
lugLevelToLogCatPrio(msg.level), msg.loggerName.c_str(), msg.formatted.c_str());
19 case lug::System::Logger::Level::Off:
20 return ANDROID_LOG_SILENT;
21 case lug::System::Logger::Level::Debug:
22 return ANDROID_LOG_DEBUG;
23 case lug::System::Logger::Level::Info:
24 return ANDROID_LOG_INFO;
25 case lug::System::Logger::Level::Warning:
26 return ANDROID_LOG_WARN;
27 case lug::System::Logger::Level::Error:
28 return ANDROID_LOG_ERROR;
29 case lug::System::Logger::Level::Fatal:
30 return ANDROID_LOG_FATAL;
31 case lug::System::Logger::Level::Assert:
32 return ANDROID_LOG_FATAL;
35 return ANDROID_LOG_UNKNOWN;
void handle(const priv::Message &msg)
LogCatHandler(const std::string &name)
android_LogPriority lugLevelToLogCatPrio(Level level)