sLog

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 4 Imported by: 7

Documentation

Index

Constants

View Source
const EncodeTimeFormat = "2006.01.02 15:04:05"

Variables

This section is empty.

Functions

func Debug

func Debug(template string, args ...interface{})

func Error

func Error(template string, args ...interface{})

func Fatal

func Fatal(template string, args ...interface{})

func Info

func Info(template string, args ...interface{})

func NewLogger added in v0.6.0

func NewLogger() *zap.SugaredLogger

func Panic

func Panic(template string, args ...interface{})

func SetLevel

func SetLevel(level zapcore.Level)

func Warn

func Warn(template string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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