Skip to content

Commit

Permalink
Add fluent LogEvent add(Object)
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Jul 16, 2024
1 parent ee841ca commit 0c229b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jpos/src/main/java/org/jpos/util/LogEvent.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ public LogEvent withTraceId (UUID uuid) {
this.traceId = uuid.toString().replace("-", "");
return this;
}
public LogEvent add (Object o) {
addMessage(o);
return this;
}
public LogEvent withTraceId () {
getTraceId();
return this;
Expand Down

0 comments on commit 0c229b5

Please sign in to comment.