applog

package
v0.0.0-...-cad48ee Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithTestContext

func WithTestContext(ctx context.Context) context.Context

Types

type AppLog

type AppLog struct {
	// contains filtered or unexported fields
}

func New

func New(l logger.Logger) AppLog

func (AppLog) Error

func (l AppLog) Error(ctx context.Context, err error)

func (AppLog) SetUser

func (l AppLog) SetUser(ctx context.Context, userID int64, userName string) context.Context

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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