The Central Go Modules Repository

To use GoCenter:
export GOPROXY=https://gocenter.io
0
Stars
ISC
License
13
Downloads
December 30th 2019
Last Modified
Version:
Loading...

log

import "acln.ro/log"

GoDoc

Highly opinionated logging experiment. This package is a work in progress and will likely change once I begin using it in various places.

Objectives

  • structured, leveled logging, with few but obvious log levels
  • component-, task- and region- based scoping
  • much smaller API surface than logrus, zap, or other similar efforts
  • extensibility and composability

Non-objectives

  • “speed”: nanosecond times, zero allocation etc. etc.
  • standard library compatibility
  • metrics