mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Print pid when logging.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user