logging

package
v6.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2019 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContext

func WithContext(ctx context.Context, logger log.Logger) log.Logger

WithContext wraps a logger to include the request_id from a context in log messages

func WithMessage

func WithMessage(msg cmdhandler.Message, logger log.Logger) log.Logger

WithMessage wraps a logger with fields from a cmdhandler.Message

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL