| // Copyright 2013 The Chromium Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| #include "shell/init.h" | |
| #include "base/logging.h" | |
| namespace mojo { | |
| namespace shell { | |
| void InitializeLogging() { | |
| logging::LoggingSettings settings; | |
| settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; | |
| logging::InitLogging(settings); | |
| // To view log output with IDs and timestamps use "adb logcat -v threadtime". | |
| logging::SetLogItems(false, // Process ID | |
| false, // Thread ID | |
| false, // Timestamp | |
| false); // Tick count | |
| } | |
| } // namespace shell | |
| } // namespace mojo |