Created
June 1, 2022 22:22
-
-
Save usbharu/2efc57310f1b293c674d54c600b7f3b7 to your computer and use it in GitHub Desktop.
よく使うlogback.xml
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" ?> | |
<!DOCTYPE logback> | |
<configuration> | |
<property name="format" value="[%-5level] %date %-15logger{15} - %m%n"/> | |
<appender class="ch.qos.logback.core.ConsoleAppender" name="CONSOLE"> | |
<encoder> | |
<pattern>${format}</pattern> | |
</encoder> | |
</appender> | |
<root level="DEBUG"> | |
<appender-ref ref="CONSOLE"/> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment