Skip to content

niubell/alog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alog

Overview

alog是个人基于Go开发的异步日志组件,实现部分参照了aiwuTech团队的repo,目前功能比较简单,后期会不断完善分支,欢迎大家贡献代码。

Features


  • 日志文件可以按照日期进行切割
  • 基于goroutine、channel实现异步文件检查和日志写入
  • 目前只支持Linux/MacOs

Installation

go get github.com/bigpyer/alog

Test

cd src/example
go run example.go
tail -f example.log 观察日志打印情况

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages