# op/go-logging

Golang logging library

Repository: https://github.com/op/go-logging
Canonical: https://ross.abutalabs.com/products/go-logging
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2023-12-13T20:47:18+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4900, "days_push": 994, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1799, forks 270 (observed 2026-08-28T04:05:37.849328+00:00)

## What it is
A logging infrastructure library for Go with customizable output formats and support for multiple backends such as syslog, file, and memory. It allows different log levels per backend and logger, with colored formatter support.

## Use cases
- add structured logging to a Go application
- send logs to multiple backends with different levels
- customize log output format with colors
- redact sensitive values in log messages
- route error-level logs separately from debug logs

## When to choose
- you need flexible multi-backend logging in Go
- you want per-backend log level control
- you need customizable, colored log formatting

## When to avoid
- you need a library with an active backwards-compatibility promise
- you want a logging solution under active heavy development
- you prefer the standard library log or slog with no extra dependencies

## Facets
- artifact type: library
- maturity: maintenance
- function: logging
- domain: developer-tools, backend
- platform: go, windows, cross-platform
- tags: go, log-backends, syslog, format-strings, log-levels, linux, macos

## Member repositories
- op/go-logging (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.849328+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:22:17.795609+00:00, confidence not recorded.
  - readme: https://github.com/op/go-logging (fetched 2026-08-28T04:05:37.849328+00:00, sha 6c6c7e568995)
- Data as of 2026-08-30T08:39:29.467469+00:00.
