Home | History | Annotate | Download | only in base

Lines Matching refs:logging

37 // process from the main application. When the logging system needs to display
47 // If DebugMessage.exe is not found, the logging code will use a normal
54 // Make a bunch of macros for logging. The way to log things is to stream
59 // You can also do conditional logging:
67 // There are also "debug mode" logging macros like the ones above:
73 // All "debug mode" logging is compiled away to nothing for non-debug mode
84 // There are "verbose level" logging macros. They look like
90 // The verbose logging can also be turned on module-by-module. For instance,
105 // E.g., "*/foo/bar/*=2" would change the logging level for all code
111 // // do some logging preparation and logging
140 // Very important: logging a message at the FATAL severity level causes
146 namespace logging {
155 // Where to record logging output? A flat file and/or system debug log
175 // Unless there is only one single-threaded process that is logging to
207 // to compile logging.cc with NDEBUG but includes logging.h without defining it,
220 // Sets the log file name and other global logging state. Calling this function
231 // This function may be called a second time to re-direct logging (e.g after
243 // the min log level to negative values enables verbose logging.
266 // If this function is not called, logging defaults to writing the timestamp
324 #define ANALYZER_ASSUME_TRUE(arg) logging::AnalyzerAssumeTrue(!!(arg))
326 static_cast<void>(::logging::AnalyzerNoReturn())
358 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_INFO, ##__VA_ARGS__)
360 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_WARNING, \
363 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_ERROR, ##__VA_ARGS__)
365 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_FATAL, ##__VA_ARGS__)
367 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_DFATAL, ##__VA_ARGS__)
369 ::logging::ClassName(__FILE__, __LINE__, ::logging::LOG_DCHECK, ##__VA_ARGS__)
396 (::logging::ShouldCreateLogMessage(::logging::LOG_##severity))
400 // that using the v-logging functions in conjunction with --vmodule
403 logging::GetVlogLevel(__FILE__))
408 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
426 ::logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream()
437 ::logging::Win32ErrorLogMessage(__FILE__, __LINE__, -verbose_level, \
438 ::logging::GetLastSystemErrorCode()).stream()
441 ::logging::ErrnoLogMessage(__FILE__, __LINE__, -verbose_level, \
442 ::logging::GetLastSystemErrorCode()).stream()
461 ::logging::GetLastSystemErrorCode()).stream()
465 ::logging::GetLastSystemErrorCode()).stream()
490 : ::logging::LogMessageVoidify() & (*::logging::g_swallow_stream)
507 // Crashes in the fastest possible way with no attempt at logging.
658 LAZY_STREAM(::logging::LogMessage(__FILE__, __LINE__, #condition).stream(), \
675 if (::logging::CheckOpResult true_if_passed = \
676 ::logging::Check##name##Impl((val1), (val2), \
680 ::logging::LogMessage(__FILE__, __LINE__, true_if_passed.message()).stream()
739 // in logging.cc.
770 return ::logging::MakeCheckOpString(v1, v2, names); \
776 return ::logging::MakeCheckOpString(v1, v2, names); \
848 // of DCHECK_IS_ON(), so default to FATAL logging for those.
905 if (::logging::CheckOpResult true_if_passed = \
906 ::logging::Check##name##Impl((val1), (val2), \
910 ::logging::LogMessage(__FILE__, __LINE__, ::logging::LOG_DCHECK, \
924 EAT_STREAM_PARAMETERS << (::logging::MakeCheckOpValueString( \
925 ::logging::g_swallow_stream, val1), \
926 ::logging::MakeCheckOpValueString( \
927 ::logging::g_swallow_stream, val2), \
960 // Implement logging of NOTREACHED() as a dedicated function to get function
964 true ? ::logging::LogErrorNotReached(__FILE__, __LINE__) \
1040 // logging macros. This avoids compiler warnings like "value computed
1104 // NOTE: Since the log file is opened as necessary by the action of logging
1109 // Async signal safe logging mechanism.
1113 ::logging::RawLog(::logging::LOG_##level, message)
1118 ::logging::RawLog(::logging::LOG_FATAL, \
1123 // Returns true if logging to file is enabled.
1130 } // namespace logging
1141 // These functions are provided as a convenience for logging, which is where we