Codacy compatibility (#575)
Refactor and split iostunnel with cmake changes, code cleanup
This commit is contained in:
parent
158c11a0ec
commit
f3a168fd43
8 changed files with 679 additions and 684 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue