LogTree class abstract

Interface for LogTree

Implementers

Constructors

LogTree()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Methods

getLogLineInfo({int stackIndex = 4}) LogLineInfo
Gets LogLineInfo with stackIndex which provides data for tag and line of code
getStacktrace({int stackIndex = 6}) List<String>
Gets tag with stackIndex how many steps in stacktrace should be taken to grab log call.
getTag({int stackIndex = 4}) String
Gets tag with stackIndex, how many steps in stacktrace should be taken to grab log call.