a class for managing capturing logging output in a string buffer
Clears the logging data in the string capture buffer if it exists
Clears the logging data in the string capture buffer if it exists
The logging data if it exists
Set a scope for this logger based on available annotations
Set a scope for this logger based on available annotations
return type of the code block
a sequence annotations
some Scala code over which to define this scope
the original return of the code block
This resets everything in the current Logger environment, including the destination use this with caution.
This resets everything in the current Logger environment, including the destination use this with caution. Unexpected things can happen
Adds a list of of className, loglevel tuples to the global (dynamicVar) See testPackageNameMatch for a description of how class name matching works
Adds a list of of className, loglevel tuples to the global (dynamicVar) See testPackageNameMatch for a description of how class name matching works
a list of tuples (class name, log level)
Sets the logging destination to Console.out
Set the log level based on a class type
Set the log level based on a class type
Kind of class
log level to set
setLevel(classOf[SomeClass], LogLevel.Debug)
This sets the logging level for a particular class or package The package name must be general to specific.
This sets the logging level for a particular class or package The package name must be general to specific. I.e. package1.package2.class package1.package2 package1 Will work. package2.class will not work if package2 is within package1
The string based class name or
The desired global logging level
This sets the global logging level
This sets the global logging level
The desired global logging level
Set logger options based on the content of an AnnotationSeq
Set logger options based on the content of an AnnotationSeq
annotation sequence containing logger options
Set the logging destination to a print stream
Set the logging destination to a print stream
destination stream
Set the logging destination to a file name
Set the logging destination to a file name
destination name
See makeScope using manager.
See makeScope using manager. This creates a manager from a command line arguments style list of strings
return type of codeBlock
List of strings
the block to call
(Since version 1.2) Use makescope(opts: FirrtlOptions)
This creates a block of code that will have access to the thread specific logger.
This creates a block of code that will have access to the thread specific logger. The state will be set according to the logging options set in the common options of the manager
The return type of codeBlock
source of logger settings
code to be run with these logger settings
Whatever block returns
(Since version 1.2) Use makeScope(opts: FirrtlOptions)
This is used to set the options that have been set in a optionsManager or are coming from the command line via an options manager
This is used to set the options that have been set in a optionsManager or are coming from the command line via an options manager
manager
(Since version 1.2) Use setOptions(annotations: AnnotationSeq)
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