Lines Matching refs:severity
163 #define SEVERITY_LAMBDA(severity) ([&]() { \ argument
171 return (severity); }())
186 #define MUST_LOG_MESSAGE(severity) (SEVERITY_LAMBDA(severity) == ::android::base::FATAL) argument
190 #define MUST_LOG_MESSAGE(severity) false argument
195 #define WOULD_LOG(severity) \ argument
196 (UNLIKELY(::android::base::ShouldLog(SEVERITY_LAMBDA(severity), _LOG_TAG_INTERNAL)) || \
197 MUST_LOG_MESSAGE(severity))
206 #define LOG_STREAM(severity) \ argument
207 ::android::base::LogMessage(__FILE__, __LINE__, SEVERITY_LAMBDA(severity), _LOG_TAG_INTERNAL, \
215 #define LOG(severity) LOGGING_PREAMBLE(severity) && LOG_STREAM(severity) argument
220 #define LOGGING_PREAMBLE(severity) \ argument
221 (WOULD_LOG(severity) && \
222 ABORT_AFTER_LOG_EXPR_IF((SEVERITY_LAMBDA(severity)) == ::android::base::FATAL, true) && \
227 #define PLOG(severity) \ argument
228 LOGGING_PREAMBLE(severity) && \
229 ::android::base::LogMessage(__FILE__, __LINE__, SEVERITY_LAMBDA(severity), \
414 LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, const char* tag,
416 LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, int error);
425 static void LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag,
441 bool ShouldLog(LogSeverity severity, const char* tag);