Skip to content

Commit

Permalink
Recompute colors during logger configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Nov 25, 2024
1 parent 7ad2578 commit b367e73
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ public void configure(int defaultLogLevel) {
} else {
this.currentLogLevel = defaultLogLevel;
}
traceRenderedLevel = builder().trace("TRACE").build();
debugRenderedLevel = builder().debug("DEBUG").build();
infoRenderedLevel = builder().info("INFO").build();
warnRenderedLevel = builder().warning("WARNING").build();
errorRenderedLevel = builder().error("ERROR").build();
}

public void setLogLevel(int logLevel) {
Expand Down

0 comments on commit b367e73

Please sign in to comment.