mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Codacy compatibility (#575)
Refactor and split iostunnel with cmake changes, code cleanup
This commit is contained in:
@@ -8,9 +8,7 @@ public func wg_log(_ type: OSLogType, staticMessage: StaticString) {
|
||||
}
|
||||
|
||||
public func wg_log(_ type: OSLogType, message: String) {
|
||||
guard Log.isLoggingEnabled else { return }
|
||||
|
||||
Log.Record(date: Date(), level: Log.Record.Level(from: type), message: message).save(at: Log.neLogURL)
|
||||
log(type, message: message)
|
||||
}
|
||||
|
||||
public func log(_ type: OSLogType, message: String) {
|
||||
|
||||
Reference in New Issue
Block a user