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

Unified Diff: net/tools/stress_cache/stress_cache.cc

Issue 2034393004: Allow multiple logging::LogMessage{Handler,Listener}s Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix installation_validator_unittest Created 4 years, 6 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
Index: net/tools/stress_cache/stress_cache.cc
diff --git a/net/tools/stress_cache/stress_cache.cc b/net/tools/stress_cache/stress_cache.cc
index 0ba3ff75eb22b2461a8d03ca15c3ba5f75f76861..9a9be4c4caf31181b604e0fb7e03264ac1264519 100644
--- a/net/tools/stress_cache/stress_cache.cc
+++ b/net/tools/stress_cache/stress_cache.cc
@@ -414,7 +414,7 @@ int main(int argc, const char* argv[]) {
return MasterCode();
logging::SetLogAssertHandler(CrashHandler);
- logging::SetLogMessageHandler(MessageHandler);
+ logging::PushLogMessageHandler(MessageHandler);
#if defined(OS_WIN)
logging::LogEventProvider::Initialize(kStressCacheTraceProviderName);

Powered by Google App Engine
This is Rietveld 408576698