Do some refactoring and reformatting. Also, use logback instead of plain ol' System.out.println().

This commit is contained in:
Manuel Friedli 2022-02-02 00:44:23 +01:00
parent c8619f80e8
commit 28c78325fe
Signed by: manuel
GPG key ID: 41D08ABA75634DA1
10 changed files with 121 additions and 61 deletions

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<shutdownHook class="ch.qos.logback.core.hook.DelayingShutdownHook"/>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are by default assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="info">
<appender-ref ref="STDOUT"/>
</root>
</configuration>