Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: mandoline/services/core_services/core_services_application_delegate.cc

Issue 1304893008: Adds a common way to initialize logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mandoline/services/core_services/DEPS ('k') | mojo/logging/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/services/core_services/core_services_application_delegate.cc
diff --git a/mandoline/services/core_services/core_services_application_delegate.cc b/mandoline/services/core_services/core_services_application_delegate.cc
index 8595a2618158df7c7293641b30f21b5b94f910f4..ba54c58c67e9a06264e72413e855498fd5cc8070 100644
--- a/mandoline/services/core_services/core_services_application_delegate.cc
+++ b/mandoline/services/core_services/core_services_application_delegate.cc
@@ -14,6 +14,7 @@
#include "mojo/application/public/cpp/application_connection.h"
#include "mojo/application/public/cpp/application_impl.h"
#include "mojo/application/public/cpp/application_runner.h"
+#include "mojo/logging/init_logging.h"
#include "mojo/message_pump/message_pump_mojo.h"
#include "mojo/services/tracing/tracing_app.h"
#include "url/gurl.h"
@@ -73,6 +74,7 @@ class ApplicationThread : public base::SimpleThread {
CoreServicesApplicationDelegate::CoreServicesApplicationDelegate()
: weak_factory_(this) {
+ mojo::logging::InitLogging();
}
CoreServicesApplicationDelegate::~CoreServicesApplicationDelegate() {
« no previous file with comments | « mandoline/services/core_services/DEPS ('k') | mojo/logging/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698