From 12d218632cb5750385426785635557df58a50b99 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Thu, 17 Sep 2015 21:42:39 +0300 Subject: [PATCH] logging: debug enabled for CLI --- .../src/org.jetbrains.kotlin.preprocessor/logging.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/conditional-preprocessor/src/org.jetbrains.kotlin.preprocessor/logging.kt b/compiler/conditional-preprocessor/src/org.jetbrains.kotlin.preprocessor/logging.kt index b50c744f6be..5f3e25dfd63 100644 --- a/compiler/conditional-preprocessor/src/org.jetbrains.kotlin.preprocessor/logging.kt +++ b/compiler/conditional-preprocessor/src/org.jetbrains.kotlin.preprocessor/logging.kt @@ -26,7 +26,7 @@ public interface Logger { public object SystemOutLogger : Logger { private fun out(level: String, msg: CharSequence) = println("[$level] $msg") - public var isDebugEnabled: Boolean = false + public var isDebugEnabled: Boolean = true override fun debug(msg: CharSequence) = if (isDebugEnabled) out("DEBUG", msg) override fun info(msg: CharSequence) = out("INFO", msg) override fun warn(msg: CharSequence) = out("WARN", msg)