Turn on standard logging details in Mojo app runners
It's not clear why Mojo runner disabled these, and I think the mash runner just copied whatever the Mojo runner was doing. BUG=None Review URL: https://codereview.chromium.org/1835653002 Cr-Commit-Position: refs/heads/master@{#383373}
This commit is contained in:
@ -219,10 +219,10 @@ int MashMain() {
|
||||
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
|
||||
logging::SetLogItems(true, // Process ID
|
||||
true, // Thread ID
|
||||
true, // Timestamp
|
||||
true); // Tick count
|
||||
|
||||
// TODO(sky): use MessagePumpMojo.
|
||||
scoped_ptr<base::MessageLoop> message_loop;
|
||||
|
@ -32,10 +32,10 @@ void InitializeLogging() {
|
||||
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
|
||||
logging::SetLogItems(true, // Process ID
|
||||
true, // Thread ID
|
||||
true, // Timestamp
|
||||
true); // Tick count
|
||||
}
|
||||
|
||||
void WaitForDebuggerIfNecessary() {
|
||||
|
Reference in New Issue
Block a user