Configuration
struct Configuration
Undocumented
-
Undocumented
Declaration
Swift
public typealias OutputType = (_ target: TargetType, _ items: [String]) -> Void
-
Undocumented
Declaration
Swift
public var formatter: Formatter -
Undocumented
Declaration
Swift
public var output: OutputType -
Undocumented
Declaration
Swift
public var logOptions: LogOptions -
The designated way to instanciate a Configuration.
Declaration
Swift
public init(formatter: Formatter = Formatter(), output: @escaping OutputType = defaultOutput, logOptions: LogOptions = .default)Parameters
formatterAn object holding all formatter closures available for customization.
outputA closure responsible for writing the given log entries into your log system. The default value writes entries to the debug console.
logOptionsA set of options you can use to customize which request component is logged.
-
Undocumented
Declaration
Swift
public static func defaultOutput(target: TargetType, items: [String])
-
Undocumented
See moreDeclaration
Swift
struct LogOptions : OptionSet
-
Undocumented
See moreDeclaration
Swift
struct Formatter
Configuration Structure Reference