aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiuyang Liu2020-11-16 20:20:52 +0000
committerGitHub2020-11-16 20:20:52 +0000
commitb249814df95f1bf3e8eae49ff84f41e1c85f8d29 (patch)
treee9cd7edacabb4b784d0228c6e426779a32a33155
parentc9feb47d5bfde08fd7ec97cfeae80c9de7c7dd91 (diff)
make LazyLogging log to console by default. (#1961)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-rw-r--r--src/main/scala/logger/Logger.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/logger/Logger.scala b/src/main/scala/logger/Logger.scala
index 80c024fb..20c1338e 100644
--- a/src/main/scala/logger/Logger.scala
+++ b/src/main/scala/logger/Logger.scala
@@ -58,7 +58,7 @@ private class LoggerState {
val classLevels = new scala.collection.mutable.HashMap[String, LogLevel.Value]
val classToLevelCache = new scala.collection.mutable.HashMap[String, LogLevel.Value]
var logClassNames = false
- var stream: PrintStream = System.out
+ var stream: PrintStream = Console.out
var fromInvoke: Boolean = false // this is used to not have invokes re-create run-state
var stringBufferOption: Option[Logger.OutputCaptor] = None