Google Logging (glog) is a C++98 library that implements application-level logging. The library provides logging APIs based on C++-style streams and various helper macros. glog supports multiple build systems for compiling the project from source, Bazel, CMake, and vcpkg. glog also supports CMake that can be used to build the project on a wide range of platforms. If you don’t have CMake installed already, you can download it for from CMake’s official website. CMake works by generating native makefiles or build projects that can be used in the compiler environment of your choice. You can either build glog with CMake as a standalone project or it can be incorporated into an existing CMake build for another project. glog defines a series of macros that simplify many common logging tasks. You can log messages by severity level, control logging behavior from the command line, log based on conditionals, abort the program when expected conditions are not met, etc.

Features

  • Log messages by severity level
  • Control logging behavior
  • Log based on conditionals
  • Abort the program when expected conditions are not met
  • Introduce your own verbose logging levels
  • Customize the prefix attached to log messages

Project Samples

Project Activity

See All Activity >

Categories

Logging

License

BSD License

Follow Google Logging Library

Google Logging Library Web Site

Other Useful Business Software
Build Agents and Models on One Platform Icon
Build Agents and Models on One Platform

Everything you need to build production-ready agents and models. Access 200+ Google and third-party AI models and tools.

Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Try It Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Google Logging Library!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

C++

Related Categories

C++ Logging Software

Registered

2021-11-04