Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 314 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 314 Bytes

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")