Documentation ¶
Index ¶
- Variables
- func GetDefaultDriver() string
- func LogrusWithField(log *logger.Logger, key string, value any) *logrusDriver.Entry
- func LogrusWithFields(log *logger.Logger, fields map[string]any) *logrusDriver.Entry
- func New(once ...bool) *logger.Logger
- func NewLogger(driverName string, once ...bool) *logger.Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var Default *logger.Logger
默认
Functions ¶
func LogrusWithField ¶
自定义数据 import "github.com/deatil/lakego-doak/lakego/facade/logger" logger.LogrusWithField(logger.New(), "system", "lakego").Info("logger test")
func LogrusWithFields ¶
批量自定义数据
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.