chisel6.4.0 < Back


# Packages

-  package root
  Definition Classes
    root
-  package logger
  Definition Classes
    root
-  package phases
- ClassLogLevelAnnotation
- LazyLogging
- LogClassNamesAnnotation
- LogFileAnnotation
- LogLevel
- LogLevelAnnotation
- Logger
- LoggerException
- LoggerOption
- LoggerOptions
- LoggerOptionsView

p

# logger

#### package logger

Source
  package.scala

Linear Supertypes
AnyRef, Any
Content Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. logger
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Package Members

1.  package phases

### Type Members

1.  case class ClassLogLevelAnnotation(className: String, level: LogLevel.Value) extends NoTargetAnnotation with LoggerOption with Unserializable 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

2.  trait LazyLogging extends AnyRef

   extend this trait to enable logging in a class you are implementing

3.  case class LogFileAnnotation(file: Option[String]) extends NoTargetAnnotation with LoggerOption with Unserializable 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`
4.  case class LogLevelAnnotation(globalLogLevel: LogLevel.Value = LogLevel.None) extends NoTargetAnnotation with LoggerOption with Unserializable 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
5.  class Logger extends AnyRef

   Classes implementing LazyLogging will have logger of this type

6.  class LoggerException extends RuntimeException

   An exception originating from the Logger

7.  sealed trait LoggerOption extends AnyRef

   An annotation associated with a Logger command line option

8.  class LoggerOptions extends AnyRef

   Internal options used to control the logging in programs that are part of the Chisel stack

### Value Members

1.  object ClassLogLevelAnnotation extends HasShellOptions with Serializable
2.  case object LogClassNamesAnnotation extends NoTargetAnnotation with LoggerOption with HasShellOptions with Unserializable with Product with Serializable

   Enables class names in log output

   Enables class names in log output

   - enabled with `-lcn/--log-class-names`
3.  object LogFileAnnotation extends HasShellOptions with Serializable
4.  object LogLevel extends Enumeration

   The supported log levels, what do they mean? Whatever you want them to.

5.  object LogLevelAnnotation extends HasShellOptions with Serializable
6.  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

7.  implicit object LoggerOptionsView extends OptionsView[LoggerOptions]

### Inherited from AnyRef

### Inherited from Any

### Ungrouped