msg

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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

func WithContext

func WithContext(original context.Context) 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