Lines Matching refs:severity
175 static int32_t LogSeverityToPriority(LogSeverity severity) { in LogSeverityToPriority() argument
176 switch (severity) { in LogSeverityToPriority()
238 static void KernelLogLine(const char* msg, int length, android::base::LogSeverity severity, in KernelLogLine() argument
258 int level = kLogSeverityToKernelLogLevel[severity]; in KernelLogLine()
276 void KernelLogger(android::base::LogId, android::base::LogSeverity severity, const char* tag, in KernelLogger() argument
278 SplitByLines(full_message, KernelLogLine, severity, tag); in KernelLogger()
282 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger() argument
293 StderrOutputGenerator(now, getpid(), GetThreadId(), severity, tag, file, line, message); in StderrLogger()
298 void StdioLogger(LogId, LogSeverity severity, const char* /*tag*/, const char* /*file*/, in StdioLogger() argument
300 if (severity >= WARNING) { in StdioLogger()
317 static void LogdLogChunk(LogId id, LogSeverity severity, const char* tag, const char* message) { in LogdLogChunk() argument
319 int32_t priority = LogSeverityToPriority(severity); in LogdLogChunk()
333 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, const char* file, in operator ()() argument
339 SplitByLogdChunks(id, severity, tag, file, line, message, LogdLogChunk); in operator ()()
407 auto severity = PriorityToLogSeverity(log_message->priority); in SetLogger() local
409 Logger()(log_id, severity, log_message->tag, log_message->file, log_message->line, in SetLogger()
429 LogMessageData(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessageData() argument
433 severity_(severity), in LogMessageData()
474 LogMessage::LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, in LogMessage() argument
476 : LogMessage(file, line, severity, tag, error) {} in LogMessage()
478 LogMessage::LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessage() argument
480 : data_(new LogMessageData(file, line, severity, tag, error)) {} in LogMessage()
520 void LogMessage::LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogLine() argument
523 int32_t priority = LogSeverityToPriority(severity); in LogLine()
535 Logger()(DEFAULT, severity, gDefaultTag->c_str(), file, line, message); in LogLine()
537 Logger()(DEFAULT, severity, tag, file, line, message); in LogLine()
551 bool ShouldLog(LogSeverity severity, const char* tag) { in ShouldLog() argument
557 int32_t priority = LogSeverityToPriority(severity); in ShouldLog()
560 return severity >= gMinimumLogSeverity; in ShouldLog()