loggoa

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Intercept

func Intercept(a goa.LogAdapter, info, err func(msg string, keyvals ...interface{})) goa.LogAdapter

Intercept can be used to intercept messages.

func WithAdapter

func WithAdapter(ctx context.Context, adapter goa.LogAdapter) context.Context

logger is a shallow wrapper for goa logger.

func Wrap

func Wrap(l goa.LogAdapter) log.Adapter

func WrapCtx

func WrapCtx(ctx context.Context) context.Context

Wrap extracts the goa logger from the context

func WrapGoa

func WrapGoa(l log.Adapter) goa.LogAdapter

Wrap a log adapter and return a goa adapter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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