whatisgithub

What is glog?

google/glog — explained in plain English

Analysis updated 2026-06-24

7,365C++Audience · developerComplexity · 2/5Setup · moderate

In one sentence

glog was Google's C++ logging library, but it is no longer maintained and will be archived on 2025-06-30, the project recommends migrating to ng-log (a compatible community fork) or Abseil Logging (Google's actively maintained alternative).

Mindmap

mindmap
  root((glog))
    Status
      No longer maintained
      Archived 2025-06-30
    What it was
      C++ logging library
      Severity filtering
      File log output
    Alternatives
      ng-log community fork
      Abseil Logging
    Migration
      Compatible API
      Migration guide
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Migrate an existing C++ codebase from glog to ng-log using its compatible API and official migration instructions.

USE CASE 2

Replace glog in a project with Abseil Logging to stay on a Google-backed, actively maintained logging library.

What is it built with?

C++

How does it compare?

google/glogfastled/fastledlibcpr/cpr
Stars7,3657,3877,329
LanguageC++C++C++
Setup difficultymoderateeasymoderate
Complexity2/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

This project is archived and no longer maintained, migrate to ng-log or Abseil Logging before the 2025-06-30 archive date.

So what is it?

Google Logging Library (glog) was a C++ library for recording log messages inside applications. It provided a stream-based API and helper macros that let developers write log statements that could be filtered by severity, written to files, and handled in various other ways at runtime. The project is no longer maintained. Google announced it will be archived on 2025-06-30. The README points to two alternatives: ng-log, a community-maintained fork with a compatible API and migration instructions, and Abseil Logging, a logging library from Google that is actively supported. Developers using glog in existing projects are encouraged to migrate to one of these.

Copy-paste prompts

Prompt 1
How do I migrate a C++ project from glog to ng-log while keeping the same LOG() and DCHECK() macros?
Prompt 2
Show me how to add Abseil Logging to a C++ CMake project as a drop-in replacement for glog.
Prompt 3
What are the key API or behaviour differences between glog and ng-log that I need to update during migration?

Frequently asked questions

What is glog?

glog was Google's C++ logging library, but it is no longer maintained and will be archived on 2025-06-30, the project recommends migrating to ng-log (a compatible community fork) or Abseil Logging (Google's actively maintained alternative).

What language is glog written in?

Mainly C++. The stack also includes C++.

How hard is glog to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is glog for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.