diff --git a/build.gradle b/build.gradle index 68b9427..8e5492c 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ allprojects { subprojects { ext { - version '0.6.0' + version '0.6.1' spring_version = "2.3.0.RELEASE" } diff --git a/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/component/Logger.kt b/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/component/Logger.kt index fbbe6e1..24b042d 100644 --- a/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/component/Logger.kt +++ b/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/component/Logger.kt @@ -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) } }