                 // Add back to the buffer if could not send
                 if case let .failure(error) = $0 {
                     print("🤍 \(timestamp: Date()) PRINT Error from log destination: \(error)")
-                    DispatchQueue.logger.async { self.buffer += logs }
+                    DispatchQueue.logger.async { self.buffer += entries }
                 }
 
                 task.end()

}

public extension LogServiceHTTP {
    /// Appends the log to the buffer that will be queued for later sending.
    ///
    /// The buffer size is determined in the initializer. Once the threshold is met,

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