aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorducky2016-01-16 16:39:42 -0800
committerducky2016-01-16 16:39:42 -0800
commit1f3b2b10e1fd63f28ba2e2f3fbfb885f5476a253 (patch)
tree352998ec48907d94c94df46cb744047af5af3a66 /src
parentd08e2acbcae940b66717a82b8dbc80a2c3592604 (diff)
Clean up old logging remnants
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/firrtl/Driver.scala10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main/scala/firrtl/Driver.scala b/src/main/scala/firrtl/Driver.scala
index 700ee936..7cbd63d4 100644
--- a/src/main/scala/firrtl/Driver.scala
+++ b/src/main/scala/firrtl/Driver.scala
@@ -217,14 +217,8 @@ object Driver extends LazyLogging {
case false => List()
}
- /*implicit val logger = options('log) match {
- case s: String => Logger(new PrintWriter(new FileOutputStream(s)), debugMode, printVars)
- case false => Logger(new PrintWriter(System.err, true), debugMode, printVars)
- }*/
-
- // -p "printVars" options only print for debugMode > 'debug, warn if -p enabled and debugMode < 'debug
- if (!printVars.isEmpty)
- logger.warn("-p options will not print unless debugMode (-d) is debug or trace")
+ if (!logger.underlying.isDebugEnabled && !printVars.isEmpty )
+ logger.warn("-p options will only print at DEBUG log level")
options('compiler) match {
case "verilog" => verilog(input, output)