hlog

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 48

Documentation

Index

Constants

View Source
const (
	Version = "0.9.3"
)

Variables

This section is empty.

Functions

func ExpDtInit

func ExpDtInit(name string, timeCycle int64, durations []int64)

func ExpDtPrint

func ExpDtPrint(name string, dur int64)

func ExpStInit

func ExpStInit(name string, timeCycle int64, statuses []string)

func ExpStPrint

func ExpStPrint(name string, status string)

func Flush

func Flush() error

func LevelConfig

func LevelConfig(ls []string)

func LogDirSet

func LogDirSet(path string)

func Print

func Print(level string, a ...interface{})

func Printf

func Printf(level, format string, a ...interface{})

func SlotPrint

func SlotPrint(sec int64, levelTag, format string, a ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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