Skip to content
/ flylog Public

Flylog is a simple and fast development log module.

License

Notifications You must be signed in to change notification settings

flylog/flylog

Repository files navigation

Flylog

GitHub release (latest SemVer) Released API docs Build Go Report Card Lines of code Downloads of releases Languages GitHub go.mod Go version (subdirectory of monorepo) GPL3 licensed

Flylog 是一个简单快速的开发日志模块。支持同步/异步输出,缓存日志批量写入支持多种输出方式控制台,文件,tcp等。

Flylog is a simple and fast development log module. Support synchronous / asynchronous output, cache log batch writing, and multiple output modes, console, file, TCP, etc.

Doc

See this document at GoDoc

Install

go get -u github.com/flylog/flylog@latest

ToDo

  • 增加日志输出到TCP支持。
  • Console日志彩色输出由https://github.com/flylog/colorstyle 支持开发中
  • 日志异步缓存输出参考heka。
  • 优化lylog.properties配置项,参考Log4j配置管理。
  • 日志输出格式自定义Formart
  • 增加http访问日志参考nginx。