Skip to content

Commit

Permalink
update(app):更新示例代码
Browse files Browse the repository at this point in the history
  • Loading branch information
SakurajimaMaii committed Jun 28, 2024
1 parent ec529e1 commit c6f21ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/src/main/kotlin/com/ave/vastgui/app/log/Logger.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ package com.ave.vastgui.app.log
import com.ave.vastgui.tools.log.android
import com.ave.vastgui.tools.manager.filemgr.FileMgr
import com.log.vastgui.core.LogFactory
import com.log.vastgui.core.base.LogLevel
import com.log.vastgui.core.base.LogStore
import com.log.vastgui.core.base.Logger
import com.log.vastgui.core.format.OnlyMsgFormat
Expand Down Expand Up @@ -69,6 +70,7 @@ val mLogFactory2: LogFactory = getLogFactory {
open = false
}
install(LogPrinter) {
level = LogLevel.INFO
logger = Logger.android(logFormat = OnlyMsgFormat)
}
install(LogJson) {
Expand All @@ -78,6 +80,7 @@ val mLogFactory2: LogFactory = getLogFactory {
converter = gson
}
install(LogStorage) {
levelSet = setOf(LogLevel.INFO, LogLevel.WARN, LogLevel.ERROR)
logStore = LogStore.android()
}
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ targetSdk = "34"
minSdk = "21"
core-local = "0.1.0"
log = "1.3.3"
log-local = "1.3.3"
log-local = "1.3.4"
tools = "1.4.1"
navigationFragment = "2.7.7"

Expand Down

0 comments on commit c6f21ef

Please sign in to comment.