Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[misc] Add toString() to make easier to debug LogEvent

  • Loading branch information...
commit 0a98b436986d12cb0da022f2d3a644d023f93eb7 1 parent 182a489
@tmortagne tmortagne authored
View
6 ...ons-logging/xwiki-commons-logging-api/src/main/java/org/xwiki/logging/event/LogEvent.java
@@ -137,4 +137,10 @@ public String getFormattedMessage()
return this.formattedMessage;
}
+
+ @Override
+ public String toString()
+ {
+ return getLevel().toString() + ':' + getFormattedMessage();
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.