You've already forked VptPassiveAdapter
日志
This commit is contained in:
@@ -70,6 +70,11 @@ type PreviewConfig struct {
|
||||
HwAccel string `mapstructure:"hwaccel"`
|
||||
}
|
||||
|
||||
type LogConfig struct {
|
||||
// Level 日志级别:debug/info/warn/error,默认 info。排查问题时可临时改为 debug。
|
||||
Level string `mapstructure:"level"`
|
||||
}
|
||||
|
||||
type MainConfig struct {
|
||||
Api ApiConfig `mapstructure:"api"`
|
||||
Record RecordConfig `mapstructure:"record"`
|
||||
@@ -79,4 +84,5 @@ type MainConfig struct {
|
||||
DisconnectAction DisconnectActionConfig `mapstructure:"disconnectAction"`
|
||||
Preview PreviewConfig `mapstructure:"preview"`
|
||||
AddSilentAudio bool `mapstructure:"addSilentAudio"`
|
||||
Log LogConfig `mapstructure:"log"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user