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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp

Issue 2646033003: DevTools: streamline console logging levels, migrate 'log' to 'info' level, 'debug' to 'verbose' le… (Closed)
Patch Set: missing rebaseline Created 3 years, 11 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: third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
index f98fb16098eca831d1ec3e69effe88afddf01d3d..252229614bcbaaf2235496c7a6db72298d9d8f03 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorLogAgent.cpp
@@ -53,18 +53,16 @@ String messageSourceValue(MessageSource source) {
String messageLevelValue(MessageLevel level) {
switch (level) {
- case DebugMessageLevel:
- return protocol::Log::LogEntry::LevelEnum::Debug;
- case LogMessageLevel:
- return protocol::Log::LogEntry::LevelEnum::Log;
+ case VerboseMessageLevel:
+ return protocol::Log::LogEntry::LevelEnum::Verbose;
+ case InfoMessageLevel:
+ return protocol::Log::LogEntry::LevelEnum::Info;
case WarningMessageLevel:
return protocol::Log::LogEntry::LevelEnum::Warning;
case ErrorMessageLevel:
return protocol::Log::LogEntry::LevelEnum::Error;
- case InfoMessageLevel:
- return protocol::Log::LogEntry::LevelEnum::Info;
}
- return protocol::Log::LogEntry::LevelEnum::Log;
+ return protocol::Log::LogEntry::LevelEnum::Info;
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698