Home | History | Annotate | Download | only in common

Lines Matching refs:Logging

39 #include "base/logging.h"
80 // Assertion handler for logging errors that occur when dialogs are
104 // Suppresses error/assertion dialogs and enables the logging of
110 logging::SetLogAssertHandler(SilentRuntimeAssertHandler);
111 logging::SetLogReportHandler(SilentRuntimeReportHandler);
128 namespace logging {
135 const logging::LoggingDestination kDefaultLoggingMode =
136 logging::LOG_ONLY_TO_FILE;
140 const logging::LoggingDestination kDefaultLoggingMode =
141 logging::LOG_TO_BOTH_FILE_AND_SYSTEM_DEBUG_LOG;
147 logging::LoggingDestination log_mode;
149 // Let --enable-logging=stderr force only stderr, particularly useful for
152 log_mode = logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG;
156 log_mode = logging::LOG_NONE;
233 "Attempted to redirect logging when it was already initialized.";
245 logging::DcheckState dcheck_state =
247 logging::ENABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS :
248 logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS;
254 logging::LOCK_LOG_FILE,
255 logging::APPEND_TO_OLD_LOG_FILE,
257 LOG(ERROR) << "Unable to initialize logging to " << log_path.value();
270 "Attempted to initialize logging when it was already initialized.";
273 IPC::Logging::set_log_function_map(&g_log_function_mapping);
289 log_path, delete_old_log_file == logging::DELETE_OLD_LOG_FILE);
292 // the link, it shouldn't remove the old file in the logging code,
294 delete_old_log_file = logging::APPEND_TO_OLD_LOG_FILE;
297 logging::DcheckState dcheck_state =
299 logging::ENABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS :
300 logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS;
304 logging::LOCK_LOG_FILE,
310 PLOG(ERROR) << "Unable to initialize logging to " << log_path.value()
318 PLOG(ERROR) << "Unable to initialize logging to " << log_path.value();
326 logging::SetShowErrorDialogs(true);
329 logging::SetLogItems(true, // enable_process_id
351 logging::SetMinLogLevel(level);
360 logging::LogEventProvider::Initialize(kChromeTraceProviderName);
367 logging::SetLogReportHandler(DumpProcessAssertHandler);
379 return; // We failed to initiailize logging, no cleanup.
382 "Attempted to clean up logging when it wasn't initialized.";
445 } // namespace logging