Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 0a98b436986d12cb0da022f2d3a644d023f93eb7 1 parent 182a489
Thomas Mortagne tmortagne authored
6 ...core/xwiki-commons-logging/xwiki-commons-logging-api/src/main/java/org/xwiki/logging/event/LogEvent.java
@@ -137,4 +137,10 @@ public String getFormattedMessage()
137 137
138 138 return this.formattedMessage;
139 139 }
  140 +
  141 + @Override
  142 + public String toString()
  143 + {
  144 + return getLevel().toString() + ':' + getFormattedMessage();
  145 + }
140 146 }

0 comments on commit 0a98b43

Please sign in to comment.
Something went wrong with that request. Please try again.