refactor(logger): remove LoggerUtil and add simplelogger for tests
Some checks failed
github-mirror / push-github (push) Successful in 1m48s
Build / Gradle-Build (push) Failing after 12s
Test / Gradle-Test (push) Failing after 13s

This commit is contained in:
2025-04-14 02:09:33 +02:00
parent ef9384336a
commit 83b446e6fb
20 changed files with 57 additions and 97 deletions

View File

@@ -17,6 +17,8 @@ dependencies {
testImplementation(libs.discord4j)
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(libs.slf4j.simple)
implementation(libs.slf4j)
implementation(libs.discord4j) {
exclude(module="discord4j-voice")

View File

@@ -10,7 +10,7 @@ import net.tomatentum.marinara.wrapper.CommandRegisterer;
import net.tomatentum.marinara.wrapper.ServerCommandList;
public class Discord4JRegistererStrategy implements CommandRegisterer.Strategy<ApplicationCommandRequest> {
private ApplicationService appService;
private long applicationId;

View File

@@ -0,0 +1,7 @@
# SLF4J's SimpleLogger configuration file
# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err.
# Default logging detail level for all instances of SimpleLogger.
# Must be one of ("trace", "debug", "info", "warn", or "error").
# If not specified, defaults to "info".
org.slf4j.simpleLogger.defaultLogLevel=trace