Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions user/src/com/google/gwt/logging/client/ConsoleLogHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void publish(LogRecord record) {
} else if (val >= Level.INFO.intValue()) {
info(msg);
} else {
log(msg);
logVerbose(msg);
}
}

Expand All @@ -77,7 +77,9 @@ private native void info(String message) /*-{
window.console.info(message);
}-*/;

private native void log(String message) /*-{
window.console.log(message);
private native void logVerbose(String message) /*-{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the method to debug to match the naming scheme of all the other logging methods. Also the comment can be removed as it is already pretty clear what is going on.

// use console.debug to show FINE and FINEST messages
// only when "Verbose" is enabled in inspector
window.console.debug(message);
}-*/;
}