     private let osVersion = UIDevice.current.systemVersion
     
     /// Stores the log entries in memory until it is ready to send.
-    private var buffer: [String] = [] {
-        didSet { buffer.count > maxEntriesInBuffer ? send() : nil }
-    }
+    private var buffer: [String] = []
     
     /// The initializer of the log destination.
     ///

        
        BackgroundTask.run(for: .shared) { task in
            self.networkRepository.send(with: request) {
                if case .failure(let error) = $0 {
                    debugPrint("Error from log destination: \(error)")
                }
                
                task.end()

        
        // Store in buffer for sending later
        buffer.append(log)
        
        // Flush buffer threshold reached
        guard buffer.count > maxEntriesInBuffer else { return }
        send()
    }
}

private extension LogHTTPService {
    
    @objc func send() {
        guard !buffer.isEmpty else { return }
        
        let logs = buffer
        buffer = []
        
