Case
TorEvent.log(level:message:)
A log line emitted by Tor at the specified severity.
case log(level: TorLogLevel, message: String)
Parameters
-
level
-
Severity of the log line.
-
message
-
Tor-formatted message body. May include structured key=value pairs that callers can parse ad hoc.
Mentioned In
Discussion
Corresponds to Tor’s DEBUG/INFO/NOTICE/WARN/ERR async events (control-spec.txt §4.1.10). Subscription is controlled by subscribe(to:); by default swift-tor subscribes only to NOTICE and higher unless otherwise requested.