Documentation
¶
Index ¶
- func AddDebugDomain(domain string) error
- func Clone(in *logrus.Logger) *logrus.Logger
- func Init(opt Options) error
- func IsDebug(logger *logrus.Entry) bool
- func RemoveDebugDomain(domain string) error
- func WithDomain(domain string) *logrus.Entry
- func WithNamespace(nspace string) *logrus.Entry
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDebugDomain ¶
AddDebugDomain adds the specified domain to the debug list.
func RemoveDebugDomain ¶
RemoveDebugDomain removes the specified domain from the debug list.
func WithDomain ¶
WithDomain returns a logger with the specified domain field.
func WithNamespace ¶
WithNamespace returns a logger with the specified nspace field.
Types ¶
Click to show internal directories.
Click to hide internal directories.