FlrxPrettyPrinter class

Constructors

FlrxPrettyPrinter()

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 excludeBox and noBoxingByDefault.
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 in excludeBox are true or false by default.
finalinherited
printEmojis bool
Whether emojis are prefixed to the log line.
finalinherited
printTime bool
Whether LogEvent.time is 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>
PrettyPrinter assumes if event.stackTrace is provided, errorMethodCount lines are printed in log, incorrectly assuming that the event is from an error. So we make sure that if error exists, then we force PrettyPrinter to handle it as an error, printing errorMethodCount. If event.error is not null then we force PrettyPrinter to print methodCount lines.
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