Lines Matching full:logging
25 // process from the main application. When the logging system needs to display
35 // If DebugMessage.exe is not found, the logging code will use a normal
42 // Make a bunch of macros for logging. The way to log things is to stream
47 // You can also do conditional logging:
55 // There are also "debug mode" logging macros like the ones above:
61 // All "debug mode" logging is compiled away to nothing for non-debug mode
80 // Very important: logging a message at the FATAL severity level causes
83 namespace logging {
85 // Where to record logging output? A flat file and/or system debug log via
93 // If logging is being done from multiple threads or there can be more than
94 // one process doing the logging, the file should be locked during writes to
105 // Sets the log file name and other global logging state. Calling this function
132 // If this function is not called, logging defaults to writing the timestamp
162 logging::LogMessage(__FILE__, __LINE__)
164 logging::LogMessage(__FILE__, __LINE__, logging::LOG_WARNING)
166 logging::LogMessage(__FILE__, __LINE__, logging::LOG_ERROR)
168 logging::LogMessage(__FILE__, __LINE__, logging::LOG_FATAL)
170 logging::LogMessage(__FILE__, __LINE__, logging::LOG_DFATAL_LEVEL)
179 logging::LogMessage(__FILE__, __LINE__, logging::LOG_ERROR)
194 !(condition) ? (void) 0 : logging::LogMessageVoidify() & LOG(severity)
229 // Plus some debug-logging macros that get compiled to nothing for production
275 while (logging::CheckOpString _result = \
276 logging::Check##name##Impl((val1), (val2), #val1 " " #op " " #val2)) \
277 logging::LogMessage(__FILE__, __LINE__, _result).stream()
305 // To avoid bloat, the definitions are in logging.cc.
320 logging::Check##func##expected##Impl((s1), (s2), \
342 true ? (void) 0 : logging::LogMessageVoidify() & LOG(severity)
345 true ? (void) 0 : logging::LogMessageVoidify() & LOG(severity)
357 logging::LogMessage(__FILE__, __LINE__).stream()
448 // when the logging level is not a compile-time constant).
454 // logging macros. This avoids compiler warnings like "value computed
465 // NOTE: Since the log file is opened as necessary by the action of logging
470 } // namespace Logging
472 // These functions are provided as a convenience for logging, which is where we