DSDebugTree class
Constructors
-
DSDebugTree({List<
String> logLevels = DebugTree.defaultLevels, bool useColors = true})
Properties
-
colorizeMap
↔ Map<
String, ColorizeStyle> -
Colors style map, with key as log level and value as ColorizeStyle
Visible on supported consoles.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
logLevels
↔ List<
String> -
Log levels processed by this DebugTree
getter/setter pairinherited
- printTimeType → int
-
Type of time to print.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useColors → bool
-
final
Methods
-
getLevels(
) → List< String> -
Gets levels of logging serviced by this LogTree
inherited
-
log(
String level, String message, {String? tag, dynamic ex, StackTrace? stacktrace, Map< String, String?> ? attributes}) → void -
Logs
message
withlevel
and optionaltag
,ex
(exception,stacktrace
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printLog(
String logLine, {String? level}) → void -
Method to overload printing to output stream the formatted
logLine
Adds handing of timeoverride -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited