fix unsafeBitCast error
This commit is contained in:
parent
a147ebcd85
commit
d81cbd7d24
@ -48,7 +48,7 @@ extension SocketLogger {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let newArgs = args.map {String($0)}
|
let newArgs = args.map {arg -> CVarArgType in String(arg)}
|
||||||
let replaced = String(format: message, arguments: newArgs)
|
let replaced = String(format: message, arguments: newArgs)
|
||||||
|
|
||||||
NSLog("%@: %@", altType ?? client.logType, replaced)
|
NSLog("%@: %@", altType ?? client.logType, replaced)
|
||||||
@ -59,7 +59,7 @@ extension SocketLogger {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let newArgs = args.map {String($0)}
|
let newArgs = args.map {arg -> CVarArgType in String(arg)}
|
||||||
let replaced = String(format: message, arguments: newArgs)
|
let replaced = String(format: message, arguments: newArgs)
|
||||||
|
|
||||||
NSLog("ERROR %@: %@", altType ?? client.logType, replaced)
|
NSLog("ERROR %@: %@", altType ?? client.logType, replaced)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user