Seelog is a powerful and easy-to-learn logging framework that provides functionality for flexible dispatching, filtering, and formatting. Natively written in the Go programming language.
- Xml configuring to be able to change logger parameters without recompilation
- Changing configurations on the fly without app restart
- Possibility to set different log configurations for different project files and functions
- Adjustable message formatting
- Simultaneous log output to multiple streams
- Choosing logger priority strategy to minimize performance impact
- Different output writers
- Console writer
- File writer
- Buffered writer (Chunk writer)
- Rolling log writer (Logging with rotation)
- (In progress) SMTP writer
- others... (See Wiki)
- (In progress) Log message wrappers (JSON, XML, etc.)
- Global variables and functions for easy usage in standalone apps
- Functions for flexible usage in libraries
package main
import log "github.com/cihub/seelog"
func main() {
defer log.Flush()
log.Info("Hello from Seelog!")
}
- If you don't have the Go development environment installed, visit the Getting Started document and follow the instructions
- go get github.com/cihub/seelog
Seelog has a github wiki page that contains a detailed Seelog reference: https://github.com/cihub/seelog/wiki
Seelog examples can be found here: seelog-examples
Feel free to add any issues that could make Seelog better: https://github.com/cihub/seelog/issues