add logger group for service

This commit is contained in:
ginuerzh
2023-12-19 21:28:19 +08:00
parent c4b95b180e
commit 4a1b225d2c
5 changed files with 24 additions and 6 deletions

View File

@ -402,6 +402,7 @@ type ServiceConfig struct {
CLimiter string `yaml:"climiter,omitempty" json:"climiter,omitempty"`
RLimiter string `yaml:"rlimiter,omitempty" json:"rlimiter,omitempty"`
Logger string `yaml:",omitempty" json:"logger,omitempty"`
Loggers []string `yaml:",omitempty" json:"loggers,omitempty"`
Recorders []*RecorderObject `yaml:",omitempty" json:"recorders,omitempty"`
Handler *HandlerConfig `yaml:",omitempty" json:"handler,omitempty"`
Listener *ListenerConfig `yaml:",omitempty" json:"listener,omitempty"`