logutil

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TERMINAL int8 = 0
	JSON     int8 = 1
)
View Source
const (
	DEBUG int8 = 0
	INFO  int8 = 1
	WARN  int8 = 2
	ERROR int8 = 3
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg interface{}, err interface{})

func Error

func Error(msg interface{}, err interface{})

func Info

func Info(msg interface{}, err interface{})

func SetLogLevel

func SetLogLevel(logLevel int8)

func SetLogType

func SetLogType(logType int8)

func Warn

func Warn(msg interface{}, err interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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