Skip to content

ulog is a simple and efficient level logging library for Go

License

Notifications You must be signed in to change notification settings

noxideproject/ulog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ulog License

ulog is a simple and efficient level logging library for Go

Getting Started

The ulog package can be added to a project by running:

go get noxide.lol/go/ulog@latest

Examples

log := ulog.New("my/component")
log.E.Fmt("the level is %s", "error")
log.W.Fmt("the level is %s", "warn")
log.I.Fmt("the level is %s", "info")
log.D.Fmt("the level is %s", "debug")
log.T.Fmt("the level is %s", "trace")

License

The noxide.lol/go/ulog module is open source under the BSD license.