Skip to content

A three level logger for Golang. It has the following levels: debug, info, and error.

License

Notifications You must be signed in to change notification settings

GolangToolKits/go-level-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-level-logger

A three level logger for Golang. It has the following levels: debug, info, and error.

Examples

import(
    logger "github.com/GolangToolKits/go-level-logger"
)

var lg logger.Logger

log:= lg.New()
log.SetLogLevel(logger.AllLevel)

log.Debug("this is debug logging", "this too")

About

A three level logger for Golang. It has the following levels: debug, info, and error.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published