FimberTree class

Fimber logging tree for specific platform. For Android it uses Android Log with corresponding levels and formatting

Inheritance

Constructors

FimberTree({List<String> logLevels = defaultLevels, bool useColors = false})
Creates instance of FimberTree with optional allowed logLevels and useColors flag.

Properties

colorizeMap Map<String, ColorizeStyle>
Optional list of Color style per each level.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logLevels List<String>
Log levels for this Log Tree
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useColors bool
Toggle to use colors scheme for ANSI style.
getter/setter pair

Methods

getLevels() List<String>
Gets levels of logging serviced by this LogTree
override
log(String level, String message, {String? tag, dynamic ex, StackTrace? stacktrace}) → void
Logs message with log level and optional tag, ex (exception) and stacktrace
override
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

Constants

defaultLevels → const List<String>
Default log levels.