diff options
| author | Jiuyang Liu | 2020-11-16 20:20:52 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-16 20:20:52 +0000 |
| commit | b249814df95f1bf3e8eae49ff84f41e1c85f8d29 (patch) | |
| tree | e9cd7edacabb4b784d0228c6e426779a32a33155 /src/main | |
| parent | c9feb47d5bfde08fd7ec97cfeae80c9de7c7dd91 (diff) | |
make LazyLogging log to console by default. (#1961)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main')
| -rw-r--r-- | src/main/scala/logger/Logger.scala | 2 |
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 |
