RunAnywhereLogging class
Static helpers for configuring SDK logging.
One-to-one parity with Swift's extension RunAnywhere in
RunAnywhere+Logging.swift. Swift defines these as static functions
on the RunAnywhere enum; Dart has no static extensions on free
types, so we expose the same surface via a non-instantiable
RunAnywhereLogging class.
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
-
addLogDestination(
LogDestination destination) → void -
Add a custom log destination.
Mirrors Swift's
addLogDestination(_:). Destinations receive every log record after filtering by LogLevel. -
configureLogging(
LoggingConfiguration config) → void -
Configure logging with a predefined configuration.
Mirrors Swift's
configureLogging(_:). -
flushLogs(
) → void -
Force flush all pending logs to destinations.
Mirrors Swift's
flushLogs(). -
removeLogDestination(
LogDestination destination) → void - Remove a previously-registered log destination.
-
setDebugMode(
bool enabled) → void -
Enable verbose debugging mode.
Mirrors Swift's
setDebugMode(_:). -
setLocalLoggingEnabled(
bool enabled) → void -
Enable or disable local console logging.
Mirrors Swift's
setLocalLoggingEnabled(_:). -
setLogLevel(
LogLevel level) → void -
Set minimum log level for SDK logging.
Mirrors Swift's
setLogLevel(_:).