Last active
August 14, 2019 11:25
-
-
Save AdrianRaFo/131e0b185057b5f8f653ba7d7a4f0487 to your computer and use it in GitHub Desktop.
Minimal logback
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration debug="false"> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<withJansi>true</withJansi> | |
<encoder class="ch.qos.logback.core.encoder.LayoutWrappingEncoder"> | |
<layout name="simple_logger" class="ch.qos.logback.classic.PatternLayout"> | |
<Pattern> | |
[%highlight(%level)] %msg%n | |
</Pattern> | |
</layout> | |
</encoder> | |
</appender> | |
<root level="info"> | |
<appender-ref ref="STDOUT"/> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment