logging

package
v0.0.0-...-bd5e2c9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(ctx context.Context) *zap.Logger

Logger returns a zap logger with as much context as possible

func WithRqID

func WithRqID(ctx context.Context, requestID string) context.Context

WithRqId returns a context which knows its request ID

func WithSessionID

func WithSessionID(ctx context.Context, sessionID string) context.Context

WithSessionId returns a context which knows its session ID

Types

This section is empty.

Jump to

Keyboard shortcuts

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