Help us shape the future of Go! Take the 2026 Go Developer Survey

logger

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2019 License: MPL-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

View Source
const (
	DEBUG int = iota
	INFO
	WARN
	ERROR
	FATAL
)

Variables

View Source
var (
	LogSavePath = "runtime/logs/"
	LogSaveName = "log"
	LogFileExt  = "log"
	TimeFormat  = "20000000"
)
View Source
var (
	F *os.File

	DefaultPrefix      = ""
	DefaultCallerDepth = 2
)

Functions

func Debug

func Debug(v ...interface{})

func Error

func Error(v ...interface{})

func Fatal

func Fatal(v ...interface{})

func Info

func Info(v ...interface{})

func Warn

func Warn(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