ConsoleLoggerProvider
public class ConsoleLoggerProvider : LSLoggerProvider
Simple concrete logging provider that logs on the system console.
To be used, an instance of this class has to be passed to the library through the LightstreamerClient.setLoggerProvider(...)
.
-
Creates an instace of the concrete system console logger.
Declaration
Swift
public init(level: ConsoleLogLevel)
Parameters
level
The desired logging level for this
ConsoleLoggerProvider
instance. -
Declaration
Swift
public func loggerWithCategory(_ category: String) -> LSLogger