Initializer
init(callback:)
Creates a logging connection that delivers messages through a callback.
init(callback: @escaping (String) -> Void) throws
Parameters
-
callback
-
Called for each log message with the message string.
Discussion
Throws
KernelError.loggingConnectionFailed if the C API returns null.