mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-29 22:42:00 -08:00
change log prefix of servers
This commit is contained in:
parent
e9a9d846fe
commit
b1b6f669dd
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ func newServerTCP(p *program) (*serverTCP, error) {
|
|||
}
|
||||
|
||||
func (l *serverTCP) log(format string, args ...interface{}) {
|
||||
l.p.log("[TCP listener] "+format, args...)
|
||||
l.p.log("[TCP server] "+format, args...)
|
||||
}
|
||||
|
||||
func (l *serverTCP) run() {
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ func (l *serverUDP) log(format string, args ...interface{}) {
|
|||
} else {
|
||||
label = "RTCP"
|
||||
}
|
||||
l.p.log("[UDP/"+label+" listener] "+format, args...)
|
||||
l.p.log("[UDP/"+label+" server] "+format, args...)
|
||||
}
|
||||
|
||||
func (l *serverUDP) run() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue