mirror of
https://github.com/JonasunderscoreJones/ZtereoMUSIC.git
synced 2025-10-24 13:09:18 +02:00
new: debug logs
This commit is contained in:
parent
a1c2ab3551
commit
c36e3334b1
3 changed files with 16 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@ build/
|
|||
.idea/
|
||||
.gradle/
|
||||
.DS_Store
|
||||
/config.json5
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation "ch.qos.logback:logback-classic:1.2.8"
|
||||
implementation "net.dv8tion:JDA:4.3.0_277"
|
||||
implementation "com.sedmelluq:lavaplayer:1.3.77"
|
||||
implementation "net.shadew:json:0.3"
|
||||
|
|
|
|||
14
src/main/resources/logback.xml
Normal file
14
src/main/resources/logback.xml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<configuration>
|
||||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%d{HH:mm:ss.SSS} %boldCyan(%-34.-34thread) %red(%10.10X{jda.shard}) %boldGreen(%-15.-15logger{0}) %highlight(%-6level)
|
||||
%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