PrettyFormatter class
Constructors
-
PrettyFormatter({bool colors = true, int lineLength = 80, UnicodeBorderStyle borderStyle = UnicodeBorderStyle.light, int jsonIndent = 2, bool terseStackTracs = true})
-
Creates a new PrettyFormatter.
The pretty formatter is focussed on increasing log readability
const
Properties
-
borderStyle
→ UnicodeBorderStyle
-
The style of the border
final
-
colors
→ bool
-
Whether to use colors in the output.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
jsonIndent
→ int
-
The indent when the messages are formatted as json
final
-
lineLength
→ int
-
The length of the output lines.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
terseStackTracs
→ bool
-
Whether to use terse stack traces.
Terse stack traces remove frames from core dart libraries
to be more readable.
final