mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-07-02 05:17:24 +00:00
refactor(logging): 设置不同运行环境下的日志配置.
使用 logback 中配置的引用功能, 为 scalabot-app 模块设置了开发环境与生产环境的日志配置, 目前仅最低级别不同外没啥区别.
This commit is contained in:
@ -40,4 +40,8 @@ tasks.withType<KotlinCompile> {
|
||||
|
||||
application {
|
||||
mainClass.set("net.lamgc.scalabot.AppMainKt")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.jar.configure {
|
||||
exclude("**/logback-test.xml")
|
||||
}
|
||||
|
Reference in New Issue
Block a user