mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +00:00
?
This commit is contained in:
parent
0933bc448c
commit
3901010309
1 changed files with 0 additions and 2 deletions
|
|
@ -10,9 +10,7 @@ import JavaScriptCore
|
|||
extension JSContext {
|
||||
func setupConsoleLogging() {
|
||||
let consoleObject = JSValue(newObjectIn: self)
|
||||
|
||||
let appInfoBridge = AppInfo()
|
||||
consoleObject?.setObject(appInfoBridge, forKeyedSubscript: "AppInfo" as NSString)
|
||||
|
||||
let consoleLogFunction: @convention(block) (String) -> Void = { message in
|
||||
Logger.shared.log(message, type: "Debug")
|
||||
|
|
|
|||
Loading…
Reference in a new issue