LogEntry class

A discrete log event emitted by an AWSLogger.

Mixed in types

Constructors

LogEntry({required LogLevel level, required String message, required String loggerName, DateTime? time, Object? error, StackTrace? stackTrace})
A discrete log event emitted by an AWSLogger.

Properties

error Object?
The associated error, if any.
final
hashCode int
The hash code for this object.
no setterinherited
level LogLevel
The level at which this entry was logged.
final
loggerName String
The name of the logger which emitted this entry.
final
message String
The log's message, intended for displaying.
final
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride
stackTrace StackTrace?
The associated stack trace, if any.
final
time DateTime
The time when this entry was emitted.
final

Methods

copyWith({LogLevel? level, String? message, String? loggerName, DateTime? time, Object? error, StackTrace? stackTrace}) LogEntry
Creates a copy of this with the given values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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