Print pid when logging.

This commit is contained in:
Cheng Zhao 2013-12-23 22:04:49 +08:00
parent 902be9bab5
commit 02d94c8b2e

View file

@ -35,10 +35,11 @@ bool AtomMainDelegate::BasicStartupComplete(int* exit_code) {
settings.dcheck_state =
logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS;
logging::InitLogging(settings);
// Logging with pid, tid and timestamp.
logging::SetLogItems(true, true, true, false);
#endif // defined(OS_WIN)
// Logging with pid and timestamp.
logging::SetLogItems(true, false, true, false);
return brightray::MainDelegate::BasicStartupComplete(exit_code);
}