PrettyFormatter class

This is an example class of how to implement a log-formatter.

Inheritance

Constructors

PrettyFormatter.new({int stackTraceBeginIndex = 0, int errorMethodCount = 8, int lineLength = 120, bool printEmojis = true})

Properties

errorMethodCount int
final
hashCode int
The hash code for this object.
no setterinherited
lineLength int
final
printEmojis bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTraceBeginIndex int
The index which to begin the stack trace at
final

Methods

format(String message, StackTrace? stackTrace, LogLevel level) String
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