LogOptions class
Choose what and how it gets logged
Log level for the logger is set up in Loggy.initLoggy and it's used for all new Loggy. Unless they are Loggy.detached or hierarchicalLoggingEnabled is enabled. Then those loggers can choose and change LogOptions how/when they need it.
To get loggers caller line number and file name you should set includeCallerInfo to true this operation is expensive so it defaults to false
Constructors
- LogOptions.new(LogLevel logLevel, {LogLevel stackTraceLevel = LogLevel.off, bool includeCallerInfo = false})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeCallerInfo → bool
-
final
- logLevel → LogLevel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTraceLevel → LogLevel
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited