yggdrasil-go/src/yggdrasil/mobile_android.go

13 lines
187 B
Go
Raw Normal View History

// +build android
package yggdrasil
import "log"
type MobileLogger struct{}
func (nsl MobileLogger) Write(p []byte) (n int, err error) {
log.Println(string(p))
return len(p), nil
}