         request.httpBody = data
         
         BackgroundTask.run(for: .shared) { task in
-            self.networkRepository.send(with: request) {
+            networkRepository.send(with: request) {
                 // Add back to the buffer if could not send
                 if case let .failure(error) = $0 {
                     print("🤍 \(timestamp: Date()) PRINT Error from log destination: \(error)")

    
    func send() {
        guard !buffer.isEmpty,
            minFlushLevel == .none || buffer.contains(where: { $0.0 >= minFlushLevel }) else {
                return
        }
        
        let logs = buffer

                "is_simulator": constants.isRunningOnSimulator
            ],
            "code": [
                "file": "\(file)",
                "function": function,
                "line": line
            ]
