 
     fileprivate func outputItems(_ items: [String]) {
         if verbose {
-            items.forEach { output([$0], separator, terminator) }
+            items.forEach { output(separator, terminator, $0) }
         } else {
-            output(items, separator, terminator)
+            output(separator, terminator, items)
         }
     }
 }


    public func willSendRequest(_ request: RequestType, target: TargetType) {
        if let request = request as? CustomDebugStringConvertible, cURL {
            output([request.debugDescription], separator, terminator)
            return
        }
        outputItems(logNetworkRequest(request.request as URLRequest?))

    fileprivate let separator = ", "
    fileprivate let terminator = "\n"
    fileprivate let cURLTerminator = "\\\n"
    fileprivate let output: (_ seperator: String, _ terminator: String, _ items: Any...) -> Void
    fileprivate let responseDataFormatter: ((Data) -> (Data))?

    /// If true, also logs response body data.
    public let verbose: Bool
    public let cURL: Bool

    public init(verbose: Bool = false, cURL: Bool = false, output: @escaping (_ seperator: String, _ terminator: String, _ items: Any...) -> Void = NetworkLoggerPlugin.reversedPrint, responseDataFormatter: ((Data) -> (Data))? = nil) {
        self.cURL = cURL
        self.verbose = verbose
        self.output = output
