Skip to content

Commit

Permalink
Remove trailing newlines from log messages (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
levaitamas authored Jan 11, 2025
1 parent 3ff9392 commit 2a33fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lt_cred.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func LongTermTURNRESTAuthHandler(sharedSecret string, l logging.LeveledLogger) A
l = logging.NewDefaultLoggerFactory().NewLogger("turn")
}
return func(username, realm string, srcAddr net.Addr) (key []byte, ok bool) {
l.Tracef("Authentication username=%q realm=%q srcAddr=%v\n", username, realm, srcAddr)
l.Tracef("Authentication username=%q realm=%q srcAddr=%v", username, realm, srcAddr)
timestamp := strings.Split(username, ":")[0]
t, err := strconv.Atoi(timestamp)
if err != nil {
Expand Down

0 comments on commit 2a33fd5

Please sign in to comment.