         delegate = Delegate()
         session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
         self.responseQueue = responseQueue
-
-        logDateFormatter = DateFormatter()
-        logDateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSS ZZZZZ"
     }
 
     deinit {

        print("", separator: "", terminator: terminator)
    }

    private let logDateFormatter: DateFormatter

    private func logFormatDate(_ date: Date) -> String {
        return logDateFormatter.string(from: date)
    }

    private func log(_ request: URLRequest, date: Date) {
        if !logging || logOnlyErrors { return }

        let s = request.httpBody.flatMap { String(data: $0, encoding: String.Encoding.utf8) }
        let ns = { (object: Any?) -> String in object.flatMap { "\($0)" } ?? "nil" }
        log(
            "__ \(logDateFormatter.string(from: date))",
            "\(t) Request: \(ns(request.httpMethod)) \(ns(request.url))",
            "\(t) Headers: \(ns(request.allHTTPHeaderFields))",
            "\(t) Body: \(ns(s))",
