mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-27 08:41:57 -06:00
13 lines
177 B
Go
13 lines
177 B
Go
|
// +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
|
||
|
}
|