LogEvent class

Available extensions

Constructors

LogEvent(String title, {Object? exception, StackTrace? stackTrace, Level level = Level.debug})

Properties

exception Object?
final
hashCode int
The hash code for this object.
no setterinherited
level Level
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace?
final
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printOut() → void

Available on LogEvent, provided by the PrintLogs extension

printOut() → void

Available on LogEvent, provided by the PrintLogs extension

toFormattedString() String
Returns a formatted string representation of this log event. Useful for sending to external logging systems.
toMap() Map<String, dynamic>
Returns a map representation of this log event. Useful for structured logging systems.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited