mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
14 lines
193 B
Go
14 lines
193 B
Go
//go:build !ios
|
|
// +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
|
|
}
|