# golang/glog

Leveled execution logs for Go

Repository: https://github.com/golang/glog
Canonical: https://ross.abutalabs.com/products/golang-glog
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2025-04-29T08:47:46+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 19, release rhythm 28, longevity 100
- inputs: {"age_days": 4796, "days_push": 491, "days_rel": 491, "gap_med": 86.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3598, forks 921 (observed 2026-08-28T04:08:11.375984+00:00)

## What it is
A pure Go implementation of leveled logging modeled on Google's C++ glog, providing Info/Warning/Error/Fatal functions plus V-style verbosity control. It supports fine-grained per-file verbosity via the -vmodule flag and efficient boolean-bound logging.

## Use cases
- add leveled logging to a Go application
- control log verbosity per file with vmodule flags
- port C++ glog-style logging to Go
- avoid runtime cost of evaluating log arguments
- use Google's internal-style logging in Go projects

## When to choose
- you want glog-compatible leveled logging in Go
- you need per-file verbosity control via command-line flags
- you want zero-cost logging when verbosity is disabled

## When to avoid
- you need new features or active development - the repo is export-only and feature requests are ignored
- you prefer structured or pluggable logging libraries like zap or zerolog
- you want a logger with built-in log shipping or output customization

## Facets
- artifact type: library
- maturity: maintenance
- function: logging
- domain: developer-tools, backend
- platform: go, cross-platform
- tags: leveled-logging, vmodule, google-glog-port

## Member repositories
- golang/glog (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:11.375984+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-29T18:33:46.624049+00:00, confidence not recorded.
  - readme: https://github.com/golang/glog (fetched 2026-08-28T04:08:11.375984+00:00, sha 84548027d5c6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
