We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ffc2d commit 0d3f743Copy full SHA for 0d3f743
1 file changed
code/shared/src/main/scala/maf/util/FileUtil.scala
@@ -232,11 +232,11 @@ object MAFLogger:
232
case "bench" => configs(LogEnvironment.Benchmarking)
233
case env => throw new Exception(s"invalid logging environment $env")
234
235
- private var disabled: Boolean = false
+ private var disabled: Boolean = true
236
def enable(): Unit = disabled = false
237
def disable(): Unit = disabled = true
238
239
- def log(level: LogLevel, msg: String): Unit =
+ def log(level: LogLevel, msg: => String): Unit =
240
if disabled then return
241
242
val policy = currentConfig(level)
0 commit comments