Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 446 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 446 Bytes

xlog4go

another log4go

Features

  • json conf file
  • support rotate by year/month/day/hour
  • detached file for warning/fatal level
  • record file name and line number

Install

$ go get github.com/shengkehua/xlog4go

Conf

see log.json

Use

see main.go