log

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

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

Go to latest
Published: Mar 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

** description("get the name and line number of the calling file hook"). ** copyright('tuoyun,www.tuoyun.net'). ** author("fg,Gordon@tuoyun.net"). ** time(2021/3/16 11:26).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Error

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

func Info

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

func IsNil

func IsNil() bool

func NewDebug

func NewDebug(OperationID string, args ...interface{})

func NewError

func NewError(OperationID string, args ...interface{})

func NewInfo

func NewInfo(OperationID string, args ...interface{})

func NewLfsHook

func NewLfsHook(rotationTime time.Duration, maxRemainNum uint, moduleName string) logrus.Hook

func NewPrivateLog

func NewPrivateLog(moduleName string, logLevel uint32)

func NewWarn

func NewWarn(OperationID string, args ...interface{})

func Warn

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

Types

type Logger

type Logger struct {
	*logrus.Logger
	Pid int
}

Jump to

Keyboard shortcuts

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