mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Add logback dependency for logging
This commit is contained in:
parent
a6f389125c
commit
0a071d26f7
4 changed files with 33 additions and 0 deletions
|
@ -20,6 +20,9 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation("ch.qos.logback:logback-classic:1.5.16")
|
||||
implementation("ch.qos.logback:logback-core:1.5.16")
|
||||
|
||||
errorprone("com.uber.nullaway:nullaway:0.10.26") // maximum version which supports java 8
|
||||
errorprone("com.google.errorprone:error_prone_core:2.10.0") // maximum version which supports java 8
|
||||
|
||||
|
|
11
bindings/java/src/main/resources/logback.xml
Normal file
11
bindings/java/src/main/resources/logback.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{yyyy-MM-dd HH:mm:ss} %-5level %logger{36} - %msg%n</pattern>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
<root level="debug">
|
||||
<appender-ref ref="STDOUT" />
|
||||
</root>
|
||||
</configuration>
|
Loading…
Add table
Add a link
Reference in a new issue