AggregatingLoggerOutput
public class AggregatingLoggerOutput : LoggerOutput
An implementation of LoggerOutput
that aggregates multiple LoggerOutput
.
Use this if you need your logging to go to multiple destinations.
Must only be called from a single queue/thread.
-
Undocumented
Declaration
Swift
public private(set) var loggerOutputs: [LoggerOutput]
-
Initialise the aggregating output with a list of outputs to which all the events are sent.
Declaration
Swift
public init(outputs: [LoggerOutput])
-
Declaration
Swift
public func log(event: LogEvent)
-
Declaration
Swift
public func copyForArchiving(to path: URL)