Skip to content

Commit

Permalink
override *f methods to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Aug 15, 2024
1 parent e55d62d commit d6ab77f
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion p2p/transport/webrtc/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,29 @@ func (l pionLogger) Error(s string) {
l.StandardLogger.Debug(s)
}

func (l pionLogger) Errorf(s string, args ...interface{}) {
l.StandardLogger.Debugf(s, args...)
}

func (l pionLogger) Info(s string) {
l.StandardLogger.Debug(s)
}

func (l pionLogger) Infof(s string, args ...interface{}) {
l.StandardLogger.Debugf(s, args...)
}

func (l pionLogger) Warn(s string) {
l.StandardLogger.Debug(s)
}

func (l pionLogger) Warnf(s string, args ...interface{}) {
l.StandardLogger.Debugf(s, args...)
}

func (l pionLogger) Trace(s string) {
l.StandardLogger.Debug(s)
}

func (l pionLogger) Tracef(s string, args ...interface{}) {
l.StandardLogger.Debugf(s, args...)
}
Expand Down

0 comments on commit d6ab77f

Please sign in to comment.