mirror of
https://github.com/pion/webrtc.git
synced 2025-10-04 06:46:35 +08:00
Custom Loggers
Define LoggerFactory as part of the SettingEngine
This commit is contained in:

committed by
Hugo Arregui

parent
f1c3fb8e81
commit
87897285b1
@@ -6,6 +6,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/pions/ice"
|
||||
"github.com/pions/logging"
|
||||
)
|
||||
|
||||
// SettingEngine allows influencing behavior in ways that are not
|
||||
@@ -26,6 +27,7 @@ type SettingEngine struct {
|
||||
candidates struct {
|
||||
ICENetworkTypes []NetworkType
|
||||
}
|
||||
LoggerFactory logging.LoggerFactory
|
||||
}
|
||||
|
||||
// DetachDataChannels enables detaching data channels. When enabled
|
||||
|
Reference in New Issue
Block a user