move logging to protocol (#109)

This commit is contained in:
David Colburn
2021-09-09 00:45:42 -07:00
committed by GitHub
parent 63bd531cc8
commit 2a3fb5f0e7
27 changed files with 63 additions and 95 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import (
"github.com/pion/webrtc/v3"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/logger"
serverlogger "github.com/livekit/livekit-server/pkg/logger"
)
const (
@@ -41,7 +41,7 @@ func NewWebRTCConfig(conf *config.Config, externalIP string) (*WebRTCConfig, err
SDPSemantics: webrtc.SDPSemanticsUnifiedPlan,
}
s := webrtc.SettingEngine{
LoggerFactory: logger.LoggerFactory(),
LoggerFactory: serverlogger.LoggerFactory(),
}
if externalIP != "" {