log

package
v0.0.0-...-3839eb7 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func L

func L() *logrus.Logger

func Setup

func Setup(l *logrus.Logger)

func Trace

func Trace(ctx *gin.Context) *logrus.Entry

Types

type HookCloser

type HookCloser interface {
	logrus.Hook
	io.Closer
}

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(logConf *conf.LogConf) (*Logger, error)

func (*Logger) Close

func (l *Logger) Close() error

func (*Logger) L

func (l *Logger) L() *logrus.Logger

Jump to

Keyboard shortcuts

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