Codacy compatibility (#575)

Refactor and split iostunnel with cmake changes, code cleanup
This commit is contained in:
isamnezia
2024-02-11 01:55:54 +03:00
committed by GitHub
parent 158c11a0ec
commit f3a168fd43
8 changed files with 679 additions and 684 deletions
+1 -3
View File
@@ -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) {