log

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: May 21, 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) SetEntity added in v1.4.0

func (l *Logger) SetEntity()

Jump to

Keyboard shortcuts

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