Lines Matching full:logging
36 // WARNING: Logging macros should not be used in the main/browser process before
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
72 // There are "verbose level" logging macros. They look like
78 // The verbose logging can also be turned on module-by-module. For instance,
93 // E.g., "*/foo/bar/*=2" would change the logging level for all code
99 // // do some logging preparation and logging
128 // Very important: logging a message at the FATAL severity level causes
141 #include "base/logging.h"
170 namespace logging {
205 ::cef::logging::ClassName(__FILE__, __LINE__, ::cef::logging::LOG_INFO, \
208 ::cef::logging::ClassName(__FILE__, __LINE__, ::cef::logging::LOG_WARNING, \
211 ::cef::logging::ClassName(__FILE__, __LINE__, ::cef::logging::LOG_ERROR, \
214 ::cef::logging::ClassName(__FILE__, __LINE__, ::cef::logging::LOG_FATAL, \
217 ::cef::logging::ClassName(__FILE__, __LINE__, ::cef::logging::LOG_DFATAL, \
244 ((::cef::logging::LOG_##severity) >= ::cef::logging::GetMinLogLevel())
248 // that using the v-logging functions in conjunction with --vmodule
251 ((verboselevel) <= ::cef::logging::GetVlogLevel(__FILE__))
256 !(condition) ? (void)0 : ::cef::logging::LogMessageVoidify() & (stream)
277 cef::logging::LogMessage(__FILE__, __LINE__, -verbose_level).stream()
288 cef::logging::Win32ErrorLogMessage(__FILE__, __LINE__, -verbose_level, \
289 ::cef::logging::GetLastSystemErrorCode()) \
293 cef::logging::ErrnoLogMessage(__FILE__, __LINE__, -verbose_level, \
294 ::cef::logging::GetLastSystemErrorCode()) \
315 ::cef::logging::GetLastSystemErrorCode()) \
320 ::cef::logging::GetLastSystemErrorCode()) \
331 true ? (void)0 : ::cef::logging::LogMessageVoidify() & LOG_STREAM(FATAL)
354 if (std::string* _result = cef::logging::Check##name##Impl( \
356 cef::logging::LogMessage(__FILE__, __LINE__, _result).stream()
373 // in logging.cc.
524 if (std::string* _result = cef::logging::Check##name##Impl( \
526 cef::logging::LogMessage(__FILE__, __LINE__, ::cef::logging::LOG_DCHECK, \
622 // when the logging level is not a compile-time constant).
628 // logging macros. This avoids compiler warnings like "value computed
693 } // namespace logging
696 // These functions are provided as a convenience for logging, which is where we