log

package
v1.6.9 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MulanPSL-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

View Source
const (
	LevelDebug = 1 << iota
	LevelInfo
	LevelWarn
	LevelError
	LevelPanic
	LevelFatal
)

Variables

View Source
var (
	CjLog *defaultLogger
)

Functions

func Error

func Error(v ...interface{})

func Errorf

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

func Fatal

func Fatal(v ...interface{})

func Fatalf

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

func Info

func Info(v ...interface{})

func Infof

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

func NewCjLogger

func NewCjLogger() *defaultLogger

func Panic

func Panic(v ...interface{})

func Panicf

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

func Warning added in v1.5.23

func Warning(v ...interface{})

func Warningf added in v1.5.23

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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