DefaultLogPrinter class
The default printer.
Constructors
- DefaultLogPrinter({String? dateTimePattern})
- Returns the new instance of DefaultLogPrinter.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
inherited
-
executedMethod(
{int? width}) → String -
Returns the executed method according to current stack trace.
inherited
-
init(
) → void -
inherited
-
log(
InputLogEvent event) → List< String> -
Is called every time a new
LogInputEvent
is sent and handles printing or storing the message. -
logLevel(
InputLogEvent event, {int? padRightWidth, String? padRightPattern}) → String -
Returns the formatted log level.
inherited
-
message(
InputLogEvent event) → String -
Returns the message in string.
The argument message is executed if it's a function.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
now(
{int? padRightWidth, String? padRightPattern}) → String -
Returns the formatted current date time.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited