Remove redundant SQL logger in useDb and extra newlines in SQLConfig.

Signed-off-by: Chaoscaot <max@maxsp.de>
This commit is contained in:
2025-11-07 18:59:01 +01:00
parent e50e52950b
commit c9d74fb656
2 changed files with 0 additions and 3 deletions
@@ -70,7 +70,6 @@ object KotlinDatabase {
fun <T: Any?> useDb(statement: JdbcTransaction.() -> T): T {
KotlinDatabase.ensureConnected()
return TransactionManager.currentOrNull()?.statement() ?: transaction(KotlinDatabase.db) {
addLogger(StdOutSqlLogger)
statement()
}
}
@@ -29,6 +29,4 @@ public interface SQLConfig {
Logger getLogger();
int maxConnections();
}