ui/app: (iOS) redirect standard Go logger to NSLog

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-07 17:43:40 +02:00
parent 5f42e2e804
commit 47c6ea2dd2
3 changed files with 59 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// SPDX-License-Identifier: Unlicense OR MIT
// +build ios
@import Foundation;
#include "log_ios.h"
void nslog(char *str) {
NSLog(@"%@", @(str));
}