Skip to content

Commit

Permalink
add toString method in KeyValuePair
Browse files Browse the repository at this point in the history
Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Aug 10, 2021
1 parent 947654a commit ba8506c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions slf4j-api/src/main/java/org/slf4j/event/KeyValuePair.java
Expand Up @@ -10,4 +10,8 @@ public KeyValuePair(String key, Object value) {
this.value = value;
}

@Override
public String toString() {
return String.valueOf(key) + "=\"" + String.valueOf(value) +"\"";
}
}

0 comments on commit ba8506c

Please sign in to comment.