Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "logger-decorator"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decorator ¶
type Decorator struct {
// contains filtered or unexported fields
}
func NewDecorator ¶
func NewDecorator(extractors ...LogFieldExtractor) *Decorator
func (*Decorator) Register ¶
func (d *Decorator) Register(extractor LogFieldExtractor)
type Initializer ¶
type Initializer struct { Services nacelle.ServiceContainer `service:"container"` // contains filtered or unexported fields }
func NewInitializer ¶
func NewInitializer(extractors []LogFieldExtractor) *Initializer
Click to show internal directories.
Click to hide internal directories.