loggerconfig

package
v0.0.0-...-6a757b2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Loggers map[string]LoggerConfig
	Formats map[string]string
}

func (*Config) ApplyTo

func (c *Config) ApplyTo(l *logger.Logger, name string) error

func (*Config) ApplyToBuiltinLoggers

func (c *Config) ApplyToBuiltinLoggers() error

func (*Config) SetFormatter

func (c *Config) SetFormatter(l *logger.FormatLogger, name string) error

type LoggerConfig

type LoggerConfig struct {
	URI    string
	Config func(v interface{}) error `config:", lazyload"`
}

Jump to

Keyboard shortcuts

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