log

package
v0.7.13 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: GPL-3.0 Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugln

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

func Errorln

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

func Fileln added in v0.7.4

func Fileln(l LogLevel, data string)

func Infoln

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

func SetLevel

func SetLevel(l LogLevel)

func Traceln

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

func Warnln

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

Types

type LogLevel

type LogLevel int
const (
	TRACE LogLevel = iota
	DEBUG
	INFO
	WARNING
	ERROR
)

Jump to

Keyboard shortcuts

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