internal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLevel

func GetLevel(level string) zapcore.Level

func GetLogConfig

func GetLogConfig(name string) (*gconfig2.LogConfig, error)

GetLogConfig 读取日志配置

func NewConsoleLogConfig

func NewConsoleLogConfig() *gconfig2.LogConfig

func NewSugaredLogger

func NewSugaredLogger(config zapcore.EncoderConfig, defaultWriter zapcore.WriteSyncer, errorWriter zapcore.WriteSyncer, level zapcore.Level, opts ...zap.Option) *zap.SugaredLogger

Types

This section is empty.

Jump to

Keyboard shortcuts

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