Custom Loggers

Define LoggerFactory as part of the SettingEngine
This commit is contained in:
Hugo Arregui
2019-04-01 11:08:50 -03:00
committed by Hugo Arregui
parent f1c3fb8e81
commit 87897285b1
10 changed files with 69 additions and 18 deletions

View File

@@ -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