0.6.1 修复直接记录Exception日志的错误

This commit is contained in:
2020-12-05 16:40:04 +08:00
parent 204f92fccd
commit 1b45d4095f
2 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@ allprojects {
subprojects {
ext {
version '0.6.0'
version '0.6.1'
spring_version = "2.3.0.RELEASE"
}

View File

@@ -88,7 +88,7 @@ class Logger : ILogger {
override fun debug(t: Throwable) {
if (this.logger.isDebugEnabled) {
this.logger.debug(t.toString())
this.logger.debug(t.message, t)
}
}
@@ -134,7 +134,7 @@ class Logger : ILogger {
override fun info(t: Throwable) {
if (this.logger.isInfoEnabled) {
this.logger.info(t.toString())
this.logger.info(t.message, t)
}
}
@@ -179,7 +179,7 @@ class Logger : ILogger {
override fun warn(t: Throwable) {
if (this.logger.isWarnEnabled) {
this.logger.warn(t.toString())
this.logger.warn(t.message, t)
}
}
@@ -225,7 +225,7 @@ class Logger : ILogger {
override fun error(t: Throwable) {
if (this.logger.isErrorEnabled) {
this.logger.error(t.toString())
this.logger.error(t.message, t)
}
}