From 423857de9bd3dcd25d1c6fd7af593f77e57b1177 Mon Sep 17 00:00:00 2001 From: kosugikun <33971692+kosugikun@users.noreply.github.com> Date: Sat, 23 Dec 2023 16:37:19 +0900 Subject: [PATCH] =?UTF-8?q?kotlin=E3=81=AE=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=82=921.9.20=E3=81=B8=E6=9B=B4=E6=96=B0=20?= =?UTF-8?q?=E4=BE=9D=E5=AD=98=E3=83=A9=E3=82=A4=E3=83=96=E3=83=A9=E3=83=AA?= =?UTF-8?q?=E3=81=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 12 +++++++++--- src/main/java/dev/cosgy/textToSpeak/Bot.kt | 1 + src/main/resources/log4j.properties | 6 ++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/log4j.properties 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