https://github.com/bbdshow/simplelog
golang 超轻量级 - 日志格式库,使用极简单。性能优,支持日志分级、切割、范围时间内保留
https://github.com/bbdshow/simplelog
golang high-performance lightweight logger use-easy
Last synced: about 2 months ago
JSON representation
golang 超轻量级 - 日志格式库,使用极简单。性能优,支持日志分级、切割、范围时间内保留
- Host: GitHub
- URL: https://github.com/bbdshow/simplelog
- Owner: bbdshow
- License: mit
- Created: 2019-08-14T13:54:49.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-16T09:03:24.000Z (almost 5 years ago)
- Last Synced: 2025-08-14T00:38:04.413Z (10 months ago)
- Topics: golang, high-performance, lightweight, logger, use-easy
- Language: Go
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simplelog
[](https://travis-ci.org/huzhongqing/simplelog)
[](https://goreportcard.com/report/github.com/huzhongqing/simplelog)
[](https://codecov.io/gh/huzhongqing/simplelog)
## 特性
- 支持格式微自定义
- 不同错误级别写入不同文件夹
- 单文件容量限制,切割文件
- 文件保留时间设置,自动删除过期文件
- 捕获堆栈信息
## Usage
```
go get -u github.com/huzhongqing/simplelog
# please read example.
```