FlrxPrettyPrinter class
Constructors
Properties
- colors → bool
-
Whether ansi colors are used to color the output.
finalinherited
- errorMethodCount → int
-
Controls the method count in provided stack traces.
no setter
-
excludeBox
→ Map<
Level, bool> -
Controls the ascii 'boxing' of different
Levels.finalinherited -
excludePaths
→ List<
String> -
A list of custom paths that are excluded from the stack trace.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
includeBox
↔ Map<
Level, bool> -
Contains the parsed rules resulting from
excludeBoxandnoBoxingByDefault.latefinalinherited - lineLength → int
-
Controls the length of the divider lines.
finalinherited
- methodCount → int
-
Controls the method count in created stack traces.
finalinherited
- noBoxingByDefault → bool
-
Whether the implicit
bools inexcludeBoxaretrueorfalseby default.finalinherited - printEmojis → bool
-
Whether emojis are prefixed to the log line.
finalinherited
- printTime → bool
-
Whether
LogEvent.timeis printed.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTraceBeginIndex → int
-
The index at which the stack trace should start.
finalinherited
Methods
-
destroy(
) → void -
inherited
-
formatStackTrace(
StackTrace? stackTrace, int methodCount) → String? -
inherited
-
getTime(
DateTime time) → String -
inherited
-
handleAsRegularLog(
LogEvent event, StackTrace stackTrace) → List< String> -
init(
) → void -
inherited
-
log(
LogEvent event) → List< String> -
PrettyPrinterassumes ifevent.stackTraceis provided, errorMethodCount lines are printed in log, incorrectly assuming that theeventis from an error. So we make sure that if error exists, then we forcePrettyPrinterto handle it as an error, printing errorMethodCount. Ifevent.erroris not null then we forcePrettyPrinterto printmethodCountlines. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeFlrxFromStackTrace(
StackTrace stackTrace) → StackTrace -
removeFlrxLoggerFromStackTrace(
LogEvent event) → StackTrace -
stringifyMessage(
dynamic message) → String -
inherited
-
toEncodableFallback(
dynamic object) → Object -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited