NoticeRecord class

A record of a notice log.

Constructors

NoticeRecord({required NoticeLevel level, required Object? message, required Object? error, required StackTrace stackTrace, required DateTime timestamp, required IList<String> breadcrumbs})
const

Properties

The collected breadcrumbs of the log. The breadcrumbs are ordered in increasing specificity. The first breadcrumb is the most general, and the last is the most specific.
final
error Object?
The error of the log, if any.
final
hashCode int
The hash code for this object.
no setteroverride
level NoticeLevel
The level of the log.
final
message Object?
The message of the log.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace StackTrace
The stack trace of the log, if any.
final
timestamp DateTime
The timestamp of the log.
final

Methods

copyWithBreadcrumb(String breadcrumb) NoticeRecord
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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