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 14, 2024
1 parent 8af99a5 commit ba7e35c
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion p2p/transport/webrtc/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,37 @@ func (l pionLogger) Debug(s string) {
l.StandardLogger.Debug(s)
}

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

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 ba7e35c

Please sign in to comment.