logging

package
v2.0.0-alpha.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List() map[string]Factory

func Register

func Register(name string, factory Factory)

Types

type Config

type Config struct {
	Level          string   `yaml:"level"`
	AsJson         bool     `yaml:"as_json"`
	DisableLoggers []string `yaml:"disable_loggers"`
	Filters        []string `yaml:"filters"`
}

type Factory

type Factory func(log log.Logger)

type LogConfigLoader

type LogConfigLoader struct {
	Log *Config `yaml:"logger"`
}

Directories

Path Synopsis
logext

Jump to

Keyboard shortcuts

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