CustomPrettyPrinter class
Constructors
Properties
- colors → bool
-
final
- errorMethodCount → int
-
final
-
excludeBox
→ Map<
Level, bool> -
To prevent ascii 'boxing' of any log
Level
include the level in map for excludeBox, for example to prevent boxing ofLevel.verbose
andLevel.info
use excludeBox:{Level.verbose:true, Level.info:true}final - hashCode → int
-
The hash code for this object.
no setterinherited
-
includeBox
↔ Map<
Level, bool> -
latefinal
- lineLength → int
-
final
- methodCount → int
-
final
- noBoxingByDefault → bool
-
To make the default for every level to prevent boxing entirely set noBoxingByDefault to true
(boxing can still be turned on for some levels by using something like excludeBox:{Level.error:false} )
final
- printEmojis → bool
-
final
- printTime → 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
-
destroy(
) → Future< void> -
inherited
-
formatStackTrace(
StackTrace? stackTrace, int methodCount) → String? -
getTime(
) → String -
init(
) → Future< void> -
inherited
-
log(
LogEvent event) → List< String> -
Is called every time a new
LogEvent
is sent and handles printing or storing the message. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stringifyMessage(
dynamic message) → String -
toEncodableFallback(
dynamic object) → Object -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
levelColors
→ Map<
Level, AnsiColor> -
final
-
levelEmojis
→ Map<
Level, String> -
final
Constants
- bottomLeftCorner → const String
- doubleDivider → const String
- middleCorner → const String
- singleDivider → const String
- topLeftCorner → const String
- verticalLine → const String