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

Unified Diff: components/device_event_log/device_event_log_impl.cc

Issue 1043343002: Use networkingPrivate.startConnect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_430115_internet_options_cellular
Patch Set: Move ErrorState logic to ShillToONCTranslator Created 5 years, 8 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: components/device_event_log/device_event_log_impl.cc
diff --git a/components/device_event_log/device_event_log_impl.cc b/components/device_event_log/device_event_log_impl.cc
index 3d7b8862b49eb2480a09f6e9bc7da77946f27a5f..49cdbd3e09acbd830806ee5c5c979def5842504c 100644
--- a/components/device_event_log/device_event_log_impl.cc
+++ b/components/device_event_log/device_event_log_impl.cc
@@ -157,7 +157,7 @@ void SendLogEntryToVLogOrErrorLog(
const bool show_time = true;
const bool show_file = true;
const bool show_type = true;
- const bool show_level = false;
+ const bool show_level = log_entry.log_level != LOG_LEVEL_ERROR;
const bool format_html = false;
std::string output = LogEntryToString(log_entry, show_time, show_file,
show_type, show_level, format_html);

Powered by Google App Engine
This is Rietveld 408576698