blob: fdfb13bc0f6974c265dba565d4d2ebc5a7dbb460 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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
}
|