Lines Matching refs:severity
67 const char* log_severity_name(int severity) { in log_severity_name() argument
68 if (severity >= 0 && severity < LOG_NUM_SEVERITIES) in log_severity_name()
69 return log_severity_names[severity]; in log_severity_name()
100 bool ShouldCreateLogMessage(int severity) { in ShouldCreateLogMessage() argument
101 if (severity < g_min_log_level) in ShouldCreateLogMessage()
107 return severity >= kAlwaysPrintErrorLevel; in ShouldCreateLogMessage()
143 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) in LogMessage() argument
144 : severity_(severity) { in LogMessage()
163 LogSeverity severity, in LogMessage() argument
165 : severity_(severity) { in LogMessage()
270 LogSeverity severity, in Win32ErrorLogMessage() argument
272 : err_(err), log_message_(file, line, severity) {} in Win32ErrorLogMessage()
280 LogSeverity severity, in ErrnoLogMessage() argument
282 : err_(err), log_message_(file, line, severity) {} in ErrnoLogMessage()