lib_gc_log

package
v0.0.0-...-e28984d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TRACE
	INFO
	WARNING
	ERROR
)
View Source
const LOG_ITEM_SEPARATOR_PIPE = "|"

Variables

View Source
var (
	Trace   *log.Logger
	Info    *log.Logger
	Warning *log.Logger
	Error   *log.Logger
)

Functions

func Init

func Init(
	traceHandle io.Writer,
	infoHandle io.Writer,
	warningHandle io.Writer,
	errorHandle io.Writer)

func Log

func Log(level int, itemSeparator string, items ...string) error

Types

type LOG_LEVEL

type LOG_LEVEL int
var LogLevel LOG_LEVEL = TRACE

Jump to

Keyboard shortcuts

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