/log4go

simple log library for Go language

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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