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

log

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Error

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

func Error_skip

func Error_skip(calldepth int, s string, args ...interface{})

func Info

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

func Info_skip

func Info_skip(calldepth int, s string, args ...interface{})

func SetLogLevel

func SetLogLevel(level LogLevel)

Types

type LogLevel

type LogLevel uint8
const (
	ErrorLevel LogLevel = 1
	InfoLevel  LogLevel = 2
	DebugLevel LogLevel = 3
)

Jump to

Keyboard shortcuts

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