diff options
Diffstat (limited to 'src/main/scala/logger')
| -rw-r--r-- | src/main/scala/logger/Logger.scala | 6 | ||||
| -rw-r--r-- | src/main/scala/logger/LoggerOptions.scala | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/scala/logger/Logger.scala b/src/main/scala/logger/Logger.scala index fe4b8111..80c024fb 100644 --- a/src/main/scala/logger/Logger.scala +++ b/src/main/scala/logger/Logger.scala @@ -122,7 +122,7 @@ object Logger { * @tparam A The return type of codeBlock * @return Whatever block returns */ - @deprecated("Use makeScope(opts: FirrtlOptions)", "1.2") + @deprecated("Use makeScope(opts: FirrtlOptions)", "FIRRTL 1.2") def makeScope[A](manager: ExecutionOptionsManager)(codeBlock: => A): A = makeScope(manager.commonOptions.toAnnotations)(codeBlock) @@ -134,7 +134,7 @@ object Logger { * @tparam A return type of codeBlock * @return */ - @deprecated("Use makescope(opts: FirrtlOptions)", "1.2") + @deprecated("Use makescope(opts: FirrtlOptions)", "FIRRTL 1.2") def makeScope[A](args: Array[String] = Array.empty)(codeBlock: => A): A = { val executionOptionsManager = new ExecutionOptionsManager("logger") if (executionOptionsManager.parse(args)) { @@ -353,7 +353,7 @@ object Logger { * from the command line via an options manager * @param optionsManager manager */ - @deprecated("Use setOptions(annotations: AnnotationSeq)", "1.2") + @deprecated("Use setOptions(annotations: AnnotationSeq)", "FIRRTL 1.2") def setOptions(optionsManager: ExecutionOptionsManager): Unit = setOptions(optionsManager.commonOptions.toAnnotations) diff --git a/src/main/scala/logger/LoggerOptions.scala b/src/main/scala/logger/LoggerOptions.scala index c0b5d35c..683d6741 100644 --- a/src/main/scala/logger/LoggerOptions.scala +++ b/src/main/scala/logger/LoggerOptions.scala @@ -35,6 +35,6 @@ class LoggerOptions private[logger] ( def getLogFileName(): Option[String] = if (!logToFile) None else logFileName.orElse(Some("a.log")) /** True if a [[Logger]] should be writing to a file */ - @deprecated("logToFile was removed, use logFileName.nonEmpty", "1.2") + @deprecated("logToFile was removed, use logFileName.nonEmpty", "FIRRTL 1.2") def logToFile(): Boolean = logFileName.nonEmpty } |
