Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baifei2014/log
https://github.com/baifei2014/log
log zap
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/baifei2014/log
- Owner: baifei2014
- Created: 2020-03-29T06:33:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T16:02:15.000Z (over 4 years ago)
- Last Synced: 2024-06-20T02:06:21.922Z (5 months ago)
- Topics: log, zap
- Language: Go
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# log
fast convenient and flexible
## Installation
`go get -u github.com/baifei2014/log`
Note that log only supports the two most recent minor versions of Go.
## Quick Start
```go
config := &log.Config{
OutputDir: "",
ErrorOutputDir: "",
}
log.Init(config)
defer log.Close()log.Info("success...")
```