{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/20"},{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"A simplified Google-style logging wrapper that configures Python's standard logger to output consistently formatted messages to stderr with minimal setup.","skillfed_tags":["abandoned","legacy-logging"],"use_cases":["Standardize logging format across multiple Python scripts and modules without per-module configuration","Enforce runtime invariants using check functions (check_eq, check_ge, etc.) with automatic stack traces on failure","Integrate logging into applications that already depend on gflags for command-line argument handling","Port logging patterns from C++ glog to Python while maintaining similar output format and behavior"],"what_it_does":"glog is a thin wrapper around Python's standard logging module that applies Google's internal logging conventions without requiring boilerplate configuration. It configures the root logger to output all messages to stderr in a consistent format: a log-level prefix, timestamp with microseconds, process ID, source filename and line number, and the message body. If your application already uses gflags, glog automatically adds a --verbosity flag; otherwise you can call log.setLevel() directly.\n\nBeyond basic logging, glog provides check functions (check_eq, check_ge, check_lt, and others) that enforce invariants and raise FailedCheckException with detailed context when they fail, similar to C++ glog's assertion macros. This makes it useful for mixed Python/C++ codebases or when you prefer explicit runtime checks over standard Python asserts.","worth_installing":"No. The package is abandoned (last release 2016-12-14, last commit 2022-11-07) with no maintenance or security updates. While it has low install friction and a permissive license, its age and lack of active development make it a poor choice for new projects. Consider actively maintained alternatives like the standard logging module or structured logging libraries instead."},"id":"glog","links":{"html":"https://skillfed.io/packages/glog","md":"https://skillfed.io/packages/glog.md","pypi":"https://pypi.org/project/glog/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2016-12-14","license_spdx":null,"license_treatment":"permissive","name":"glog","python_support":"unspecified","summary":"Simple Google-style logging wrapper for Python."},"popularity":{"monthly_downloads":104740,"position":12738,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
