log

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Errorf2

func Errorf2(format string, where string, args ...interface{})

专门为response提供, 可以传递where

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Info

func Info(args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Init deprecated

func Init(logDebug bool)

Deprecated: use SetDebug func.

func Native

func Native() *logging.Logger

func New

func New(logDebug bool) *logging.Logger

func New2

func New2(logDebug bool) *logging.Logger

专门为ginsrv.response提供

func Panic

func Panic(args ...interface{})

func Panicf

func Panicf(format string, args ...interface{})

func SetDebug

func SetDebug(logDebug bool)

debug会影响颜色 和 最低等级

func Warning

func Warning(args ...interface{})

func Warningf

func Warningf(format string, args ...interface{})

func Warningf2

func Warningf2(format string, where 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