Lines Matching full:logging
29 // process from the main application. When the logging system needs to display
39 // If DebugMessage.exe is not found, the logging code will use a normal
46 // Make a bunch of macros for logging. The way to log things is to stream
51 // You can also do conditional logging:
63 // There are also "debug mode" logging macros like the ones above:
69 // All "debug mode" logging is compiled away to nothing for non-debug mode
80 // There are "verbose level" logging macros. They look like
86 // The verbose logging can also be turned on module-by-module. For instance,
101 // E.g., "*/foo/bar/*=2" would change the logging level for all code
107 // // do some logging preparation and logging
137 // Very important: logging a message at the FATAL severity level causes
147 namespace logging {
156 // Where to record logging output? A flat file and/or system debug log
176 // Unless there is only one single-threaded process that is logging to
216 // to compile logging.cc with NDEBUG but includes logging.h without defining it,
229 // Sets the log file name and other global logging state. Calling this function
240 // This function may be called a second time to re-direct logging (e.g after
252 // the min log level to negative values enables verbose logging.
274 // If this function is not called, logging defaults to writing the timestamp
329 logging::ClassName(__FILE__, __LINE__, logging::LOG_INFO , ##__VA_ARGS__)
331 logging::ClassName(__FILE__, __LINE__, logging::LOG_WARNING , ##__VA_ARGS__)
333 logging::ClassName(__FILE__, __LINE__, logging::LOG_ERROR , ##__VA_ARGS__)
335 logging::ClassName(__FILE__, __LINE__, \
336 logging::LOG_ERROR_REPORT , ##__VA_ARGS__)
338 logging::ClassName(__FILE__, __LINE__, logging::LOG_FATAL , ##__VA_ARGS__)
340 logging::ClassName(__FILE__, __LINE__, logging::LOG_DFATAL , ##__VA_ARGS__)
374 ((::logging::LOG_ ## severity) >= ::logging::GetMinLogLevel())
378 // that using the v-logging functions in conjunction with --vmodule
381 ((verboselevel) <= ::logging::GetVlogLevel(__FILE__))
386 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
407 logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream()
418 logging::Win32ErrorLogMessage(__FILE__, __LINE__, -verbose_level, \
419 ::logging::GetLastSystemErrorCode()).stream()
422 logging::ErrnoLogMessage(__FILE__, __LINE__, -verbose_level, \
423 ::logging::GetLastSystemErrorCode()).stream()
443 ::logging::GetLastSystemErrorCode()).stream()
448 ::logging::GetLastSystemErrorCode(), module).stream()
452 // PLOG_STREAM is used by PLOG, which is the usual error logging macro
458 ::logging::GetLastSystemErrorCode()).stream()
461 // PLOG_STREAM is used by PLOG, which is the usual error logging macro
481 // WebView: Force logging off in Android release branch.
488 true ? (void) 0 : ::logging::LogMessageVoidify() & LOG_STREAM(FATAL)
529 logging::Check##name##Impl((val1), (val2), \
531 logging::LogMessage(__FILE__, __LINE__, _result).stream()
550 // in logging.cc.
699 ((::logging::get_dcheck_state() == \
700 ::logging::ENABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS) && \
747 logging::Check##name##Impl((val1), (val2), \
749 logging::LogMessage( \
750 __FILE__, __LINE__, ::logging::LOG_DCHECK, \
868 // when the logging level is not a compile-time constant).
874 // logging macros. This avoids compiler warnings like "value computed
945 // NOTE: Since the log file is opened as necessary by the action of logging
950 // Async signal safe logging mechanism.
953 #define RAW_LOG(level, message) logging::RawLog(logging::LOG_ ## level, message)
958 logging::RawLog(logging::LOG_FATAL, "Check failed: " #condition "\n"); \
966 } // namespace logging
968 // These functions are provided as a convenience for logging, which is where we