Skip to content
xianlezhengPublic

About

Very useful log package

Topics

Resources

Stars

4 stars

Watchers

3 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

log4go

Very useful log package,this log4go support compress base on google orig log4go,the compress log package name like *.zip.

Useage:

go get github.com/xianlezheng/log4go

Demo

package main
import (
	log "github.com/xianlezheng/log4go/log4go"
)

const (
	XML_FILE_PATH    = "./log4go.xml"
)

func Init(){
   log.LoadConfiguration(XML_FILE_PATH)
}

func main(){
   log.Info("%s RowsAffected is :%d", insertSql, count)
}

Have fun

:)

About

Very useful log package

Topics

Resources

Stars

4 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages