Browse Source

Fix incorrect logging method

pull/68/head
Gabe Kangas 5 years ago
parent
commit
a7a9ae0984
  1. 2
      core/rtmp/rtmp.go

2
core/rtmp/rtmp.go

@ -64,7 +64,7 @@ func Start() { @@ -64,7 +64,7 @@ func Start() {
func HandleConn(c *rtmp.Conn, nc net.Conn) {
c.LogTagEvent = func(isRead bool, t flvio.Tag) {
if t.Type == flvio.TAG_AMF0 {
log.Traceln("%+v\n", t.DebugFields())
log.Tracef("%+v\n", t.DebugFields())
}
}

Loading…
Cancel
Save