Recompute colors during logger configuration

This commit is contained in:
Guillaume Nodet 2024-11-25 08:05:24 +01:00
parent 7ad2578e77
commit b367e73b50
1 changed files with 5 additions and 0 deletions

View File

@ -160,6 +160,11 @@ public class MavenSimpleLogger extends MavenBaseLogger {
} 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) {