watermill

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKitLogger

func NewKitLogger(logger kitlog.Logger, options ...Option) watermill.LoggerAdapter

NewKitLogger creates a new watermill.LoggerAdapter that wraps a kitlog.Logger.

Types

type Option

type Option func(*kitlogAdapter)

func WithTraceEnabled

func WithTraceEnabled(enabled bool) Option

WithEnableTrace enables trace logging.

Jump to

Keyboard shortcuts

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