log

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: MIT Imports: 2 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 log.Config

全局变量,只一个实例,只提供config

func (*Config) Build added in v1.4.0

func (c *Config) Build() *log.Logger

func (*Config) InitAfterInject

func (c *Config) InitAfterInject()

func (*Config) InitBeforeInjectWithInitConfig added in v1.4.0

func (c *Config) InitBeforeInjectWithInitConfig(conf *initconf.InitConfig)

type Logger added in v1.4.0

type Logger struct {
	*log.Logger
	Conf Config
}

func (*Logger) Close added in v1.4.0

func (l *Logger) Close() error

func (*Logger) Config added in v1.4.0

func (l *Logger) Config() any

func (*Logger) Set added in v1.10.0

func (l *Logger) Set()

Jump to

Keyboard shortcuts

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