You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hans e5e74f063d add NewWriter func 6 years ago
.gitignore init 6 years ago
.gitlab-ci.yml add gitlab.yml 6 years ago
README.md init 6 years ago
filelog.go add NewWriter func 6 years ago
go.mod init 6 years ago
gokit.go add NewWriter func 6 years ago
gokit_test.go go fmt 6 years ago
kafka.go init 6 years ago
syslog.go go fmt 6 years ago

README.md

Usage

	
    import git.qietv.work/public/logkit
    
    
    logkit.Init(FIlE, "test", logkit.LevelDebug)
    defer logkit.Exit()
    
    logkit.Info("this is a log")
    
    logkit.Infof("this is log %s", "arg")