diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index d48b6fa569..7aa987a1ba 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -168,7 +168,7 @@ class Global(var currentSettings: Settings, var reporter: Reporter) extends Symb body } @inline final def debuglog(msg: => String) { - if (settings.debug.value) + if (settings.debug.value && (settings.log containsPhase globalPhase)) inform("[log " + phase + "] " + msg) } private def elapsedMessage(msg: String, start: Long) = |