logging

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DEBUG = 1

Variables

View Source
var LOG_LEVEL = 0

Functions

func Debug

func Debug() *log.Logger

Debug returns a logger that will only log in debug mode. Set the

func Error

func Error() *log.Logger

func IsDebug

func IsDebug() bool

func SetLogLevel

func SetLogLevel(level int)

func Warn

func Warn() *log.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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