diff --git a/pom.xml b/pom.xml index ba5e782..928f05a 100644 --- a/pom.xml +++ b/pom.xml @@ -82,7 +82,12 @@ ch.qos.logback logback-classic - 1.2.11 + 1.4.12 + + + org.slf4j + slf4j-log4j12 + 1.7.36 com.typesafe @@ -140,7 +145,7 @@ org.jetbrains.kotlin kotlin-script-runtime - 1.8.20-RC2 + ${kotlin.version} compile @@ -272,7 +277,8 @@ UTF-8 1.8 1.8 - 1.8.20-RC2 + 1.9.20 + 2.0 \ No newline at end of file diff --git a/src/main/java/dev/cosgy/textToSpeak/Bot.kt b/src/main/java/dev/cosgy/textToSpeak/Bot.kt index 29c538d..2d6d3a2 100644 --- a/src/main/java/dev/cosgy/textToSpeak/Bot.kt +++ b/src/main/java/dev/cosgy/textToSpeak/Bot.kt @@ -17,6 +17,7 @@ package dev.cosgy.textToSpeak import com.jagrosh.jdautilities.commons.waiter.EventWaiter import dev.cosgy.textToSpeak.audio.* +import dev.cosgy.textToSpeak.audio.Dictionary import dev.cosgy.textToSpeak.gui.GUI import dev.cosgy.textToSpeak.settings.SettingsManager import dev.cosgy.textToSpeak.settings.UserSettingsManager diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties new file mode 100644 index 0000000..9f3eafb --- /dev/null +++ b/src/main/resources/log4j.properties @@ -0,0 +1,6 @@ +log4j.rootLogger=DEBUG, console +log4j.logger.xxx=DEBUG, console + +log4j.appender.console=org.apache.log4j.ConsoleAppender +log4j.appender.console.layout=org.apache.log4j.PatternLayout +log4j.appender.console.layout.ConversionPattern=%d [%-5p-%c] %m%n \ No newline at end of file