Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

sr/protolog

Repository files navigation

CircleCI Go Report Card GoDoc MIT License

go get go.pedge.io/protolog

Initial beta release coming soon - I need to do one more pass on this and then document all the functionality.

  • Structured logging with Protocol buffers
  • Child of https://github.com/peter-edge/ledge-go
  • Some compatibility with existing libraries (specifically logrus and glog)
  • Two-way serialization - write logs somewhere, read them back, language independent

Where to poke around

  • protolog.go: all the public definiions
  • protolog.proto: the protos that are serialized over the wire
  • testing*: test compilation of proto definitions
  • benchmark*: more compilation of proto definitions, and benchmarks
  • make test: will print out some logs with the default text marshaller
  • make bench: some basic benchmarks

TODO

  • journal writer?
  • colors in terminals
  • better text formatting/options
  • third-party logs integration
  • performance improvements/testing
  • documentation

About

Structured logging with Protocol Buffers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published