Skip to content

lwl1989/logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logger

multi logger support

quick start

go get -u github.com/lwl1989/logger

mysql config interface

GetMysqlDns() string
GetMysqlUser()  string
GetMysqlPw() string
GetMysqlDb() string
GetMysqlTable() string

mongodb config interface

GetMongodbDns() string
GetMongodbPw() string
GetMongodbDb() string
GetMongodbCollection() string

file config interface

GetFilePath() interface{}

get a logger with driver

  1. import lwl1989/logger
  2. code ∨∨
l := GetLogger("driver name", config)
l.Println("save your content")

The Next

  1. Hdfs and Hbase
  2. logger level

Contact me

qq 285753421

email liwenlong0922@163.com

wechat contact me with wechat

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages