Home | History | Annotate | Download | only in base

Lines Matching refs:logging

35 // process from the main application. When the logging system needs to display
45 // If DebugMessage.exe is not found, the logging code will use a normal
52 // Make a bunch of macros for logging. The way to log things is to stream
57 // You can also do conditional logging:
65 // There are also "debug mode" logging macros like the ones above:
71 // All "debug mode" logging is compiled away to nothing for non-debug mode
82 // There are "verbose level" logging macros. They look like
88 // The verbose logging can also be turned on module-by-module. For instance,
103 // E.g., "*/foo/bar/*=2" would change the logging level for all code
109 // // do some logging preparation and logging
138 // Very important: logging a message at the FATAL severity level causes
144 namespace logging {
153 // Where to record logging output? A flat file and/or system debug log
173 // Unless there is only one single-threaded process that is logging to
205 // to compile logging.cc with NDEBUG but includes logging.h without defining it,
218 // Sets the log file name and other global logging state. Calling this function
229 // This function may be called a second time to re-direct logging (e.g after
241 // the min log level to negative values enables verbose logging.
266 // If this function is not called, logging defaults to writing the timestamp
313 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_INFO, ##__VA_ARGS__)
315 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_WARNING, \
318 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_ERROR, ##__VA_ARGS__)
320 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_FATAL, ##__VA_ARGS__)
322 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_DFATAL, ##__VA_ARGS__)
353 (::logging::ShouldCreateLogMessage(::logging::LOG_##severity))
357 // that using the v-logging functions in conjunction with --vmodule
360 ((verboselevel) <= ::logging::GetVlogLevel(__FILE__))
365 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
383 ::logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream()
394 ::logging::Win32ErrorLogMessage(__FILE__, __LINE__, -verbose_level, \
395 ::logging::GetLastSystemErrorCode()).stream()
398 ::logging::ErrnoLogMessage(__FILE__, __LINE__, -verbose_level, \
399 ::logging
417 ::logging::GetLastSystemErrorCode()).stream()
421 ::logging::GetLastSystemErrorCode()).stream()
446 : ::logging::LogMessageVoidify() & (*::logging::g_swallow_stream)
463 // Crashes in the fastest possible way with no attempt at logging.
587 LAZY_STREAM(::logging::LogMessage(__FILE__, __LINE__, #condition).stream(), \
604 if (::logging::CheckOpResult true_if_passed = \
605 ::logging::Check##name##Impl((val1), (val2), \
609 ::logging::LogMessage(__FILE__, __LINE__, true_if_passed.message()).stream()
668 // in logging.cc.
695 return ::logging::MakeCheckOpString(v1, v2, names); \
701 return ::logging::MakeCheckOpString(v1, v2, names); \
812 DCHECK_IS_ON() ? (logging::AnalyzerNoReturn() || !(condition)) : false) \
818 DCHECK_IS_ON() ? (logging::AnalyzerNoReturn() || !(condition)) : false) \
851 if (::logging::CheckOpResult true_if_passed = \
853 ::logging::Check##name##Impl((val1), (val2), \
857 ::logging::LogMessage(__FILE__, __LINE__, ::logging::LOG_DCHECK, \
871 EAT_STREAM_PARAMETERS << (::logging::MakeCheckOpValueString( \
872 ::logging::g_swallow_stream, val1), \
873 ::logging::MakeCheckOpValueString( \
874 ::logging::g_swallow_stream, val2), \
907 // Implement logging of NOTREACHED() as a dedicated function to get function
911 true ? ::logging::LogErrorNotReached(__FILE__, __LINE__) \
987 // logging macros. This avoids compiler warnings like "value computed
1051 // NOTE: Since the log file is opened as necessary by the action of logging
1056 // Async signal safe logging mechanism.
1060 ::logging::RawLog(::logging::LOG_##level, message)
1065 ::logging::RawLog(::logging::LOG_FATAL, \
1070 // Returns true if logging to file is enabled.
1077 } // namespace logging
1088 // These functions are provided as a convenience for logging, which is where we