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
protolog.go
: all the public definiionsprotolog.proto
: the protos that are serialized over the wiretesting*
: test compilation of proto definitionsbenchmark*
: more compilation of proto definitions, and benchmarksmake test
: will print out some logs with the default text marshallermake bench
: some basic benchmarks
- journal writer?
- colors in terminals
- better text formatting/options
- third-party logs integration
- performance improvements/testing
- documentation