Documentation
¶
Index ¶
- Constants
- func CapitalLevel(l zapcore.Level) string
- func ColorCode(str string, color color.RGBA) string
- func ColorToInt(color color.RGBA) (int, int, int, int)
- func CustomEncodeLevel(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
- func Debug(data ...any)
- func Dev(data ...any)
- func Error(data ...any)
- func Fatal(data ...any)
- func Format(data ...any) string
- func Info(data ...any)
- func Init(level string)
- func Level() string
- func LevelString(l zapcore.Level) string
- func ParseLevel(s string) zapcore.Level
- func Sync()
- func Warn(data ...any)
Constants ¶
View Source
const DeveloperLevel zapcore.Level = -2
Variables ¶
This section is empty.
Functions ¶
func CapitalLevel ¶ added in v1.4.0
func CustomEncodeLevel ¶ added in v1.4.0
func CustomEncodeLevel(l zapcore.Level, enc zapcore.PrimitiveArrayEncoder)
func LevelString ¶ added in v1.4.0
func ParseLevel ¶ added in v1.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.