pionlogger

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoggerFactory

func NewLoggerFactory(l logger.Logger, opts ...Option) logging.LoggerFactory

Types

type FilterFunc

type FilterFunc func(msg string) bool

type Option

type Option func(o *Options)

func WithPrefixFilter

func WithPrefixFilter(f PrefixFilter) Option

type Options

type Options struct {
	PrefixFilter PrefixFilter
}

type PrefixFilter

type PrefixFilter map[string]*prefixSet

func NewPrefixFilter

func NewPrefixFilter(prefixes map[string][]string) PrefixFilter

Jump to

Keyboard shortcuts

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