From e6020246171409d24706c39239345e89d59a739d Mon Sep 17 00:00:00 2001 From: islam <2553451+qalandarov@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:14:35 +0100 Subject: [PATCH] Remove dead code --- bitchat/Utils/SecureLogger.swift | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/bitchat/Utils/SecureLogger.swift b/bitchat/Utils/SecureLogger.swift index 44349d6f..6e970f89 100644 --- a/bitchat/Utils/SecureLogger.swift +++ b/bitchat/Utils/SecureLogger.swift @@ -263,26 +263,6 @@ final class SecureLogger { extension SecureLogger { - /// Log handshake events - static func logHandshake(_ phase: String, peerID: String, success: Bool = true, - file: String = #file, line: Int = #line, function: String = #function) { - if success { - log("Handshake \(phase) with peer: \(peerID)", category: .session, level: .info, - file: file, line: line, function: function) - } else { - log("Handshake \(phase) failed with peer: \(peerID)", category: .session, level: .warning, - file: file, line: line, function: function) - } - } - - /// Log encryption operations - static func logEncryption(_ operation: String, success: Bool = true, - file: String = #file, line: Int = #line, function: String = #function) { - let level: LogLevel = success ? .debug : .error - log("Encryption operation '\(operation)' \(success ? "succeeded" : "failed")", - category: .encryption, level: level, file: file, line: line, function: function) - } - /// Log key management operations static func logKeyOperation(_ operation: String, keyType: String, success: Bool = true, file: String = #file, line: Int = #line, function: String = #function) {