LogHandler
@objc public class LogHandler: NSObject
A class that wraps a log handling closure. This is needed to
be able to store the handler in a weakly referenced NSHashTable.
-
Initializes the
LogHandlerinstance with the given closure.Declaration
Swift
public init(_ handler: @escaping (Any) -> Void)Parameters
handlerA closure that handles the logging of the parameter passed to it.
LogHandler Class Reference