Documentation ¶
Index ¶
- Constants
- func CapitalLevelEncoder(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
- func LogNameEncoder(loggerName string, enc zapcore.PrimitiveArrayEncoder)
- func NewLogger(opts ...slog.Option) (slog.BoxLogger, error)
- func ShortEncodeCaller(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)
- type Options
Constants ¶
View Source
const (
MinSplitLogFileSize = 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func CapitalLevelEncoder ¶
func CapitalLevelEncoder(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
func LogNameEncoder ¶
func LogNameEncoder(loggerName string, enc zapcore.PrimitiveArrayEncoder)
func ShortEncodeCaller ¶ added in v0.4.8
func ShortEncodeCaller(caller zapcore.EntryCaller, enc zapcore.PrimitiveArrayEncoder)
Types ¶
Click to show internal directories.
Click to hide internal directories.