Lines Matching refs:severity
92 const char* log_severity_name(int severity) { in log_severity_name() argument
93 if (severity >= 0 && severity < LOG_NUM_SEVERITIES) in log_severity_name()
94 return log_severity_names[severity]; in log_severity_name()
411 bool ShouldCreateLogMessage(int severity) { in ShouldCreateLogMessage() argument
412 if (severity < g_min_log_level) in ShouldCreateLogMessage()
419 severity >= kAlwaysPrintErrorLevel; in ShouldCreateLogMessage()
508 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage() argument
509 : severity_(severity), file_(file), line_(line) { in LogMessage()
526 LogMessage::LogMessage(const char* file, int line, LogSeverity severity, in LogMessage() argument
528 : severity_(severity), file_(file), line_(line) { in LogMessage()
644 const char* const asl_level_string = [](LogSeverity severity) { in ~LogMessage()
650 switch (severity) { in ~LogMessage()
660 return severity < 0 ? ASL_LEVEL_STR(ASL_LEVEL_DEBUG) in ~LogMessage()
861 LogSeverity severity, in Win32ErrorLogMessage() argument
864 log_message_(file, line, severity) { in Win32ErrorLogMessage()
877 LogSeverity severity, in ErrnoLogMessage() argument
880 log_message_(file, line, severity) { in ErrnoLogMessage()