Lines Matching refs: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:
59 // There are also "debug mode" logging macros like the ones above:
65 // All "debug mode" logging is compiled away to nothing for non-debug mode
76 // There are "verbose level" logging macros. They look like
82 // The verbose logging can also be turned on module-by-module. For instance,
97 // E.g., "*/foo/bar/*=2" would change the logging level for all code
103 // // do some logging preparation and logging
132 // Very important: logging a message at the FATAL severity level causes
138 namespace logging {
147 // Where to record logging output? A flat file and/or system debug log
167 // Unless there is only one single-threaded process that is logging to
199 // to compile logging.cc with NDEBUG but includes logging.h without defining it,
212 // Sets the log file name and other global logging state. Calling this function
223 // This function may be called a second time to re-direct logging (e.g after
235 // the min log level to negative values enables verbose logging.
257 // If this function is not called, logging defaults to writing the timestamp
304 logging::ClassName(__FILE__, __LINE__, logging::LOG_INFO , ##__VA_ARGS__)
306 logging::ClassName(__FILE__, __LINE__, logging::LOG_WARNING , ##__VA_ARGS__)
308 logging::ClassName(__FILE__, __LINE__, logging::LOG_ERROR , ##__VA_ARGS__)
310 logging::ClassName(__FILE__, __LINE__, logging::LOG_FATAL , ##__VA_ARGS__)
312 logging::ClassName(__FILE__, __LINE__, logging::LOG_DFATAL , ##__VA_ARGS__)
343 ((::logging::LOG_ ## severity) >= ::logging::GetMinLogLevel())
347 // that using the v-logging functions in conjunction with --vmodule
350 ((verboselevel) <= ::logging::GetVlogLevel(__FILE__))
355 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
376 logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream()
387 logging::Win32ErrorLogMessage(__FILE__, __LINE__, -verbose_level, \
388 ::logging::GetLastSystemErrorCode()).stream()
391 logging::ErrnoLogMessage(__FILE__, __LINE__, -verbose_level, \
392 ::logging::GetLastSystemErrorCode()).stream()
412 ::logging::GetLastSystemErrorCode()).stream()
416 ::logging::GetLastSystemErrorCode()).stream()
427 true ? (void) 0 : ::logging::LogMessageVoidify() & LOG_STREAM(FATAL)
468 logging::Check##name##Impl((val1), (val2), \
470 logging::LogMessage(__FILE__, __LINE__, _result).stream()
489 // in logging.cc.
634 logging::Check##name##Impl((val1), (val2), \
636 logging::LogMessage( \
637 __FILE__, __LINE__, ::logging::LOG_DCHECK, \
737 // when the logging level is not a compile-time constant).
743 // logging macros. This avoids compiler warnings like "value computed
807 // NOTE: Since the log file is opened as necessary by the action of logging
812 // Async signal safe logging mechanism.
815 #define RAW_LOG(level, message) logging::RawLog(logging::LOG_ ## level, message)
820 logging::RawLog(logging::LOG_FATAL, "Check failed: " #condition "\n"); \
828 } // namespace logging
839 // These functions are provided as a convenience for logging, which is where we