Switch to new logging location

This commit is contained in:
Syer10
2025-10-07 18:43:44 -04:00
parent a3609bd790
commit b269d2700e
3 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- Internet --> <!-- Internet -->
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
@@ -8,6 +9,8 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-sdk tools:overrideLibrary="com.diamondedge.core"/>
<application <application
android:name=".App" android:name=".App"
android:hardwareAccelerated="true" android:hardwareAccelerated="true"

View File

@@ -7,6 +7,7 @@
package ca.gosyer.jui.desktop.logging package ca.gosyer.jui.desktop.logging
import ca.gosyer.jui.desktop.build.BuildConfig import ca.gosyer.jui.desktop.build.BuildConfig
import com.diamondedge.logging.KmLogging
import com.diamondedge.logging.logging import com.diamondedge.logging.logging
import com.github.weisj.darklaf.LafManager import com.github.weisj.darklaf.LafManager
import okio.Path import okio.Path
@@ -15,7 +16,6 @@ import org.apache.logging.log4j.LogManager
import org.apache.logging.log4j.core.LoggerContext import org.apache.logging.log4j.core.LoggerContext
import org.apache.logging.log4j.core.appender.ConsoleAppender import org.apache.logging.log4j.core.appender.ConsoleAppender
import org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory import org.apache.logging.log4j.core.config.builder.api.ConfigurationBuilderFactory
import org.lighthousegames.logging.KmLogging
import org.slf4j.bridge.SLF4JBridgeHandler import org.slf4j.bridge.SLF4JBridgeHandler
import java.util.logging.LogManager as JLogManager import java.util.logging.LogManager as JLogManager

View File

@@ -44,7 +44,7 @@ apolloKtor = "0.1.1"
# Logging # Logging
slf4j = "2.0.17" slf4j = "2.0.17"
log4j = "2.25.2" log4j = "2.25.2"
kmlogging = "2.0.3" kmlogging = "2.1.0"
# Storage # Storage
okio = "3.16.0" okio = "3.16.0"
@@ -138,7 +138,7 @@ logging-slf4j-jul = { module = "org.slf4j:jul-to-slf4j", version.ref = "slf4j" }
logging-log4j-api = { module = "org.apache.logging.log4j:log4j-api", version.ref = "log4j" } logging-log4j-api = { module = "org.apache.logging.log4j:log4j-api", version.ref = "log4j" }
logging-log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j" } logging-log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "log4j" }
logging-log4j-slf4j = { module = "org.apache.logging.log4j:log4j-slf4j2-impl", version.ref = "log4j" } logging-log4j-slf4j = { module = "org.apache.logging.log4j:log4j-slf4j2-impl", version.ref = "log4j" }
logging-kmlogging = { module = "org.lighthousegames:logging", version.ref = "kmlogging" } logging-kmlogging = { module = "com.diamondedge:logging", version.ref = "kmlogging" }
# Storage # Storage
appDirs = { module = "ca.gosyer:kotlin-multiplatform-appdirs", version.ref = "appDirs" } appDirs = { module = "ca.gosyer:kotlin-multiplatform-appdirs", version.ref = "appDirs" }