         let logs = buffer
         buffer = []
         
-        guard let data = bulkEncode(logs.map { $0.1 }) else {
+        guard let data = bufferEncode(logs) else {
             print("🤍 \(timestamp: Date()) PRINT Could not begin log destination task")
             return
         }

    ///   - notificationCenter: A notification dispatch mechanism that registers observers for flushing the buffer at certain app lifecycle events.
    public init(
        urlRequest: URLRequest,
        bulkEncode: @escaping ([String]) -> Data?,
        maxEntriesInBuffer: Int,
        minFlushLevel: LogAPI.Level = .none,
        isDebug: Bool,

        notificationCenter: NotificationCenter
    ) {
        self.urlRequest = urlRequest
        self.bufferEncode = bufferEncode
        self.maxEntriesInBuffer = maxEntriesInBuffer
        self.minFlushLevel = minFlushLevel
        self.isDebug = isDebug
