🍺 BREW Explorer

← all formulae

glog

brew install glog v0.7.1 BSD-3-Clause

C++ logging library with configurable severity levels, automatic log rotation, and stack trace capture.

Why you might care

glog is Google's battle-tested logging framework for C++ applications, offering structured log levels (INFO, WARNING, ERROR, FATAL), conditional logging, and performance tuning via environment variables—useful when you need production-grade logging in C++ binaries without rolling your own. It's widely used in Google's infrastructure and integrates naturally with gflags for command-line configuration.

Categories

Alternatives

spdlog log4cpp boost-log
5.9k
30-day installs · #534
21.5k
90-day · #490
86.6k
365-day · #466

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on 2mo ago.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "spdlog",
    "log4cpp",
    "boost-log"
  ],
  "build_dependencies": [
    "cmake"
  ],
  "categories": [
    "library",
    "logging"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "gflags"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Application-level logging library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:11+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "glog",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://google.github.io/glog/stable/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Overview - Google Logging Library",
  "installs_30d": 5867,
  "installs_365d": 86583,
  "installs_90d": 21458,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "BSD-3-Clause",
  "llm_generated_at": "2026-06-20T23:45:28+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "glog",
  "oldnames": [],
  "one_liner": "C++ logging library with configurable severity levels, automatic log rotation, and stack trace capture.",
  "optional_dependencies": [],
  "rank_30d": 534,
  "rank_365d": 466,
  "rank_90d": 490,
  "raw_hash": "c9d796dc9c2b62a6",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/glog.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "cmake"
  ],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "0.7.1",
  "versioned_formulae": [],
  "why_use_this": "glog is Google\u0027s battle-tested logging framework for C++ applications, offering structured log levels (INFO, WARNING, ERROR, FATAL), conditional logging, and performance tuning via environment variables\u2014useful when you need production-grade logging in C++ binaries without rolling your own. It\u0027s widely used in Google\u0027s infrastructure and integrates naturally with gflags for command-line configuration."
}