log

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: MIT Imports: 2 Imported by: 1

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) AfterInject added in v0.0.33

func (c *Config) AfterInject()

func (*Config) BeforeInjectWithRoot added in v0.0.33

func (c *Config) BeforeInjectWithRoot(conf *rootconf.RootConfig)

func (*Config) Build

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

type Logger

type Logger struct {
	*log.Logger
	Conf Config
}

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) Config

func (l *Logger) Config() any

func (*Logger) Init

func (l *Logger) Init() error

Jump to

Keyboard shortcuts

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