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

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

/// Log destination for sending over HTTP.
final public class LogHTTPService {
    private let urlRequest: URLRequest
    private let maxEntriesInBuffer: Int
    private let minFlushLevel: LogAPI.Level
    private let isDebug: Bool
