SDKLogger class

Centralized logging utility Aligned with iOS: Sources/RunAnywhere/Foundation/Logging/Logger/SDKLogger.swift

Constructors

SDKLogger([String category = 'SDK'])
Create a logger with the specified category category - The log category (e.g., 'DartBridge.Auth')

Properties

category String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

debug(String message, {Map<String, dynamic>? metadata}) → void
Log a debug message
error(String message, {Object? error, StackTrace? stackTrace, Map<String, dynamic>? metadata}) → void
Log an error message
fault(String message, {Object? error, StackTrace? stackTrace, Map<String, dynamic>? metadata}) → void
Log a fault message (highest severity)
info(String message, {Map<String, dynamic>? metadata}) → void
Log an info message
log(LogLevel level, String message, {Map<String, dynamic>? metadata}) → void
Log a message with a specific level
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performance(String metric, double value, {Map<String, dynamic>? metadata}) → void
Log performance metrics
toString() String
A string representation of this object.
inherited
warning(String message, {Map<String, dynamic>? metadata}) → void
Log a warning message

Operators

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