msg

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyTo added in v0.12.0

func CopyTo(dst context.Context, src context.Context) context.Context

CopyTo copies msg handler functions from src context to dst context.

func Notify

func Notify(ctx context.Context, format string, args ...any)

func Trace

func Trace(ctx context.Context, format string, args ...any)

func Warn added in v0.8.0

func Warn(ctx context.Context, format string, args ...any)

func With

func With(ctx context.Context, notifyFunc NotifyFunc, traceFunc TraceFunc, warnFunc WarnFunc) context.Context

Types

type NotifyFunc

type NotifyFunc func(ctx context.Context, msg string)

type TraceFunc added in v0.5.0

type TraceFunc func(ctx context.Context, msg string)

type WarnFunc added in v0.8.0

type WarnFunc func(ctx context.Context, msg string)

Jump to

Keyboard shortcuts

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