Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.0.11
type Config struct {
// level defines minimum log level that needs to be logged.
Level string
// Discard defines if the logs should be discarded or not.
Discard bool
// StaticFields defines the list of static random key-value pair that should
// appear in the logs.
StaticFields map[string]interface{}
// CtxFields defines the list of dynamic context key-value pair that should
// appear in the logs.
CtxFields map[string]interface{}
}
Config holds configuration parameters.
Click to show internal directories.
Click to hide internal directories.