Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Emit ¶
type Emit struct {
// contains filtered or unexported fields
}
Emit is a FilterProvider for logging.
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
Factory of context specific loggers.
func (*Factory) NewContextLogger ¶
NewContextLogger return a new logger in a context. The context is a name derived from the following information. If the request has an owner, the owner's type is used. Otherwise, the root logger is returned.
func (*Factory) NoConstructor ¶ added in v0.30.61
func (f *Factory) NoConstructor()
NoConstructor prevents Factory from being created implicitly. The Factory is explicitly created by the Installer which assigns the root logger.
Click to show internal directories.
Click to hide internal directories.