logger

package module
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

README

logger

logger is level-based logging library for go

example

pic

examples are available in this folder

changelog

check CHANGELOG.md

donation

  • XMR: 49F3GknYgs7cRfMJghrd9dHZKe63Z6Y3aJKPecDKqLRje5YebzWvz3VWsTa8e8Sk92G7WJEsyp8L1VEeNxmdj2vZNJSACo1
  • DOGE: DFYc29EsSuSbyLndGrKBGoC2usHRUqiiXb
  • BTC: bc1q08p6wd86806uf2cj95j4pcgl584jvaqkhs37pp
  • ETH: 0x84FfD8524a66505344A1cbfC3212392Db5b2474d
  • LTC: Lew3VmzbkaxzoYG3jNHf263oEDMrQ3ecN1

Documentation

Index

Constants

View Source
const (
	NOTHING = iota
	FATAL   = iota
	ERROR   = iota
	WARNING = iota
	INFO    = iota
	DEBUG   = iota
)

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(name string) logger

Initialize logger with default values (verbosity = 3, Name = "", Prefix = current time + name + " : ")

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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