logger
package logger
- Alphabetic
- By Inheritance
- logger
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
ClassLogLevelAnnotation(className: String, level: LogLevel.Value) extends NoTargetAnnotation with LoggerOption with Product with Serializable
Describes a mapping of a class to a specific log level
Describes a mapping of a class to a specific log level
- set with
-cll/--class-log-level
- level
the verbosity level
- set with
-
trait
LazyLogging extends AnyRef
extend this trait to enable logging in a class you are implementing
-
case class
LogFileAnnotation(file: Option[String]) extends NoTargetAnnotation with LoggerOption with Product with Serializable
Enables logging to a file (as opposed to STDOUT)
Enables logging to a file (as opposed to STDOUT)
- maps to LoggerOptions.logFileName
- enabled with
--log-file
-
case class
LogLevelAnnotation(globalLogLevel: LogLevel.Value = LogLevel.Warn) extends NoTargetAnnotation with LoggerOption with Product with Serializable
Describes the verbosity of information to log
Describes the verbosity of information to log
- set with
-ll/--log-level
- if unset, a LogLevelAnnotation with the default log level will be emitted
- set with
-
class
Logger extends AnyRef
Classes implementing LazyLogging will have logger of this type
-
class
LoggerException extends RuntimeException
An exception originating from the Logger
-
sealed
trait
LoggerOption extends AnyRef
An annotation associated with a Logger command line option
-
class
LoggerOptions extends AnyRef
Internal options used to control the logging in programs that are part of the Chisel stack
Value Members
- object ClassLogLevelAnnotation extends HasShellOptions with Serializable
-
object
LogClassNamesAnnotation extends NoTargetAnnotation with LoggerOption with HasShellOptions with Product with Serializable
Enables class names in log output
Enables class names in log output
- enabled with
-lcn/--log-class-names
- enabled with
- object LogFileAnnotation extends HasShellOptions with Serializable
-
object
LogLevel extends Enumeration
The supported log levels, what do they mean? Whatever you want them to.
- object LogLevelAnnotation extends HasShellOptions with Serializable
-
object
Logger
Singleton in control of what is supposed to get logged, how it's to be logged and where it is to be logged We uses a dynamic variable in case multiple threads are used as can be in scalatests
- implicit object LoggerOptionsView extends OptionsView[LoggerOptions]
This is the documentation for Firrtl.