ConsoleLogDestination class

Default console sink. Mirrors Swift Logging.printToConsole(_:) — it is held by SDKLoggerConfig (not registered in the destinations list) and invoked only when enableLocalLogging is on.

Implemented types

Constructors

ConsoleLogDestination()

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier String
Stable identifier for this destination (e.g. "console", "file"). Used to deduplicate registrations.
no setteroverride
isAvailable bool
Whether this destination is currently available (e.g. network reachable, file handle open).
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

flush() → void
Force-flush any buffered records.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
write(LogEntry entry) → void
Receive a single log record.
override

Operators

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