fileLogger 日志系统 fileLogger

mintchiu • 7105 次点击    
这是一个分享于 的项目,其中的信息可能已经有所发展或是发生改变。
fileLogger ========== fileLogger是一个基于[Go](http://golang.org/)开发的可自动分割文件进行备份的异步日志库 [![Build Status](https://drone.io/github.com/aiwuTech/fileLogger/status.png)](https://drone.io/github.com/aiwuTech/fileLogger/latest) [![Go Walker](http://gowalker.org/api/v1/badge)](http://gowalker.org/github.com/aiwuTech/fileLogger) Features -------- * 日志文件可按文件大小进行备份,可定制文件大小和数量 * 日志文件可按日期进行备份 * 两种使用模式: * 不同类型log分别写入不同的文件,使用Print(),Printf(),Println()三个方法 * 不同类型log写入一个文件,但不同LEVEL的日志具有不同的颜色,使用T(),I(),W(),E()等方法,默认日志LEVEL为TRACE Installation ------------ 安装FileLogger使用"go get"命令 go get github.com/aiwuTech/fileLogger 只基于[Go](http://golang.org/)标准库,不依赖第三方库 Update ------ 更新FileLogger使用"go get -u"命令 go get -u github.com/aiwuTech/fileLogger Usage ----- 用法请参考[example](https://github.com/aiwuTech/fileLogger/tree/master/example),持续更新中 API --- 请参考[Go Walker](https://gowalker.org/github.com/aiwuTech/fileLogger) FAQ --- 如果使用过程中遇到任何问题,希望主动与[aiwuTech团队](https://github.com/aiwuTech/)联系,也可提交[Issues](https://github.com/aiwuTech/fileLogger/issues),我们会及时解决 License ------- FileLogger基于 [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
授权协议:
Apache
开发语言:
goLang 查看源码»
操作系统:
base on golang
7105 次点击  ∙  1 赞  
加入收藏 微博
1 回复  |  直到
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传