Documentation ¶ Index ¶ type Config func (c *Config) AfterInjectWithRoot(rootconfig *rootconf.RootConfig) func (c *Config) Build() *log.Logger type Logger func (l *Logger) Close() error func (l *Logger) Config() any func (l *Logger) Init() error 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) AfterInjectWithRoot ¶ added in v0.6.6 func (c *Config) AfterInjectWithRoot(rootconfig *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 Source Files ¶ View all Source files log.go Click to show internal directories. Click to hide internal directories.