Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 508 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 508 Bytes

log4go

Simple log library for Go language.

####Install

go get github.com/skoo87/log4go

####Usages Refer to examples

####Features

  • Output log to file, the file can be rotated by itself.
  • Output log to console.
  • Output log to remote server with syslog protocol.

####TODO

  1. syslog
  2. udp/tcp writer
  3. more of rules of log rotation
  4. custom the format of log

Just modify : custom the format of log

for request of some project log file do not need [INFO] tag,do not need line number