/log

opinionated logging experiment for Go

Primary LanguageGoISC LicenseISC

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