InfospectLog class
Represents a log entry for the Infospect application.
- Available extensions
- Annotations
Constructors
- InfospectLog({DiagnosticLevel level = DiagnosticLevel.info, DateTime? timestamp, required String message, dynamic error, StackTrace? stackTrace})
-
Creates an instance of the
InfospectLog
class.
Properties
- error → dynamic
-
The error associated with the log (if any).
final
- hashCode → int
-
Generates a hash code for the
InfospectLog
object.no setteroverride - level → DiagnosticLevel
-
The log level indicating the severity of the log.
final
- message → String
-
The log message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Available on InfospectLog, provided by the InfospectLogExtension extension
no setter - stackTrace → StackTrace?
-
The stack trace associated with the log (if available).
final
- timestamp → DateTime
-
The timestamp when the log was created.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Converts the
InfospectLog
object into a Map representation. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Checks if this
InfospectLog
object is equal to another object.override
Static Methods
-
fromMap(
Map map) → InfospectLog -
Creates an instance of the
InfospectLog
class from a Map representation.