Skip to content

wuxinwei/glog

Repository files navigation

glog Build Status

super tiny go log, based on go official log, glog means geralt(witcher protagonist) log

Usage

package main

import (
    "github.com/wcgwuxinwei/glog"
)

func main() {
    glog.SetLevel(glog.LogLevelDebug)
    glog.SetReload(true)
    glog.SetInterval(20)
    
    // start use the glog
    glog.Debugf("Test %s", "test")
}

About

super tiny go log, based on go official log

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages