log

package module
v0.0.0-...-c61b7ea Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: GPL-2.0 Imports: 3 Imported by: 12

README

log

simple log library like log in go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

func Error

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

func Info

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

func SetLevel

func SetLevel(level Level)

func Warn

func Warn(msg string, args ...interface{})

Types

type Level

type Level int
const (
	LevelNil Level = iota
	LevelDebug
	LevelWarn
	LevelInfo
	LevelError
)

Directories

Path Synopsis
example module

Jump to

Keyboard shortcuts

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