HealthConnectorDartLog class final
A log entry originating from Dart code.
- Inheritance
-
- Object
- HealthConnectorLog
- HealthConnectorDartLog
- Annotations
-
- @immutable
Constructors
-
HealthConnectorDartLog({required HealthConnectorLogLevel level, required String tag, required DateTime dateTime, required String message, String? operation, Map<
String, dynamic> ? context, Object? exception, StackTrace? stackTrace}) -
Creates a HealthConnectorDartLog with the specified properties.
const
Properties
-
context
→ Map<
String, dynamic> ? -
Optional contextual information as key-value pairs.
finalinherited
- dateTime → DateTime
-
The timestamp when this log was created.
finalinherited
- exception → Object?
-
Optional exception object if an error occurred.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- level → HealthConnectorLogLevel
-
The severity level of this log entry.
finalinherited
- message → String
-
Descriptive message.
finalinherited
- operation → String?
-
The operation being logged.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
Optional stack trace associated with the exception.
finalinherited
- structuredMessage → String
-
Formats the log entry as a structured message.
no setterinherited
- tag → String
-
A tag for categorizing the log entry.
finalinherited
Methods
-
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