diff options
Diffstat (limited to 'build/gobind-yggdrasil/platform_other.go')
-rw-r--r-- | build/gobind-yggdrasil/platform_other.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build/gobind-yggdrasil/platform_other.go b/build/gobind-yggdrasil/platform_other.go new file mode 100644 index 00000000..fdfb13bc --- /dev/null +++ b/build/gobind-yggdrasil/platform_other.go @@ -0,0 +1,12 @@ +// +build !ios + +package gobind + +import "log" + +type BindLogger struct{} + +func (nsl BindLogger) Write(p []byte) (n int, err error) { + log.Println(string(p)) + return len(p), nil +} |