Break out mobile and dummy adapter

This commit is contained in:
Neil Alexander
2019-04-01 18:02:06 +01:00
parent 39baf7365c
commit 047717abf2
7 changed files with 215 additions and 135 deletions

View File

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