logger

package
v0.0.0-...-9bba0a7 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogCallerInfo

func GetLogCallerInfo() (file, funcName string, line int)

func NewLogger

func NewLogger()

Types

type Logger

type Logger struct {
	*zap.Logger
	// contains filtered or unexported fields
}
var Log *Logger

func (*Logger) Debug

func (l *Logger) Debug(c echo.Context, msg string, kv ...interface{})

func (*Logger) Error

func (l *Logger) Error(c echo.Context, msg string, kv ...interface{})

func (*Logger) Fatal

func (l *Logger) Fatal(c echo.Context, msg string, kv ...interface{})

func (*Logger) Info

func (l *Logger) Info(c echo.Context, msg string, kv ...interface{})

func (*Logger) Panic

func (l *Logger) Panic(c echo.Context, msg string, kv ...interface{})

func (*Logger) Warn

func (l *Logger) Warn(c echo.Context, msg string, kv ...interface{})

Jump to

Keyboard shortcuts

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