Documentation ¶
Index ¶
- func Get(ctx context.Context) log.FieldLogger
- func Init()
- func SetField(ctx context.Context, key string, value interface{}) context.Context
- func SetFields(ctx context.Context, logFields Fields) context.Context
- func Setup(conf Config) error
- func Standard() log.FieldLogger
- func WithField(ctx context.Context, key string, value interface{}) (context.Context, log.FieldLogger)
- func WithFields(ctx context.Context, logFields Fields) (context.Context, log.FieldLogger)
- func WithLogger(ctx context.Context, logger log.FieldLogger) context.Context
- type Config
- type Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init()
InitLogger sets up logger for a typical daemon scenario until configuration file is parsed
func Standard ¶
func Standard() log.FieldLogger
func WithFields ¶
func WithLogger ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.