Internal singleton logger providing structured, consistent logging across the HealthConnector SDK.
⚠️ INTERNAL USE ONLY
This class is strictly for internal SDK use and is NOT part of the public
API. It should only be accessed within the health_connector library
ecosystem. External consumers must not depend on or reference
HealthConnectorLogger as its implementation may change without notice.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
addProcessor(
HealthConnectorLogProcessor processor) → void - Adds a log processor to handle log events.
-
debug(
String tag, {required String message, String? operation, Map< String, dynamic> ? context, Object? exception, StackTrace? stackTrace}) → void - Logs a debug message.
-
error(
String tag, {required String message, String? operation, Map< String, dynamic> ? context, Object? exception, StackTrace? stackTrace}) → void - Logs an error message.
-
info(
String tag, {required String message, String? operation, Map< String, dynamic> ? context, Object? exception, StackTrace? stackTrace}) → void - Logs an informational message.
-
internalLog(
HealthConnectorLog log) → void - Manually logs a HealthConnectorLog event.
-
removeProcessor(
HealthConnectorLogProcessor processor) → bool - Removes a log processor from handling log events.
-
warning(
String tag, {required String message, String? operation, Map< String, dynamic> ? context, Object? exception, StackTrace? stackTrace}) → void - Logs a warning message.