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
The AI workplace management platform Icon
The AI workplace management platform

Plan smart spaces, connect teams, manage assets, and get insights with the leading AI-powered operating system for the built world.

By combining AI workflows, predictive intelligence, and automated insights, OfficeSpace gives leaders a complete view of how their spaces are used and how people work. Facilities, IT, HR, and Real Estate teams use OfficeSpace to optimize space utilization, enhance employee experience, and reduce portfolio costs with precision.
Learn More
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