threepp
A cross-platform C++20 3D library with Python bindings and the high-level API of three.js.
Small collection of configurations for Python logging
Translation pending
Developer toolsPythonGitHub @exhumaOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗.. image:: https://github.com/exhuma/gouge/actions/workflows/pythonpackage.yml/badge.svg :target: https://github.com/exhuma/gouge/actions/workflows/pythonpackage.yml :alt: CI status
.. image:: https://img.shields.io/pypi/v/gouge.svg :target: https://pypi.org/project/gouge/ :alt: PyPI version
.. image:: https://img.shields.io/pypi/pyversions/gouge.svg :target: https://pypi.org/project/gouge/ :alt: Supported Python versions
.. image:: https://github.com/exhuma/gouge/actions/workflows/docs.yml/badge.svg :target: https://exhuma.github.io/gouge/ :alt: Documentation
Formatters for the Python logging module. gouge gives console output a
uniform, coloured layout that is easy to scan, and writes the same records
as JSON Lines, CSV or XML for machines. It works with the standard library
alone: no wrapper API, no new logger class.
Documentation: https://exhuma.github.io/gouge/
.. image:: https://raw.githubusercontent.com/exhuma/gouge/master/docs/_static/snapshot1.png :alt: Console output of gouge: coloured level names, logger names in bold, and a red traceback.
gouge needs Python 3.11 or newer::
pip install gouge
::
>>> import logging
>>> from gouge.colourcli import Simple
>>> handlers = Simple.basicConfig(
... level=logging.INFO
... )
>>> log = logging.getLogger("app")
>>> log.info("Server started")
2026-10-27 13:34:48,899 INFO [app] Server started
>>> log.warning("Disk 91% full")
2026-10-27 13:34:48,899 WARNING [app] Disk 91% full
On a terminal, the time, level and logger name are coloured.
The documentation covers console output <https://exhuma.github.io/gouge/getting-started.html>, configuration files <https://exhuma.github.io/gouge/configuring.html>, extra attributes and correlation IDs <https://exhuma.github.io/gouge/extra-attributes.html>, JSON output <https://exhuma.github.io/gouge/structured-output.html>, uvicorn <https://exhuma.github.io/gouge/uvicorn.html>_ and colour control <https://exhuma.github.io/gouge/colour.html>. The changelog <https://exhuma.github.io/gouge/changelog.html> lists the changes in
every release.
gouge is actively maintained and stable (Production/Stable). It follows
Semantic Versioning; the compatibility policy <https://exhuma.github.io/gouge/#compatibility>_ defines what counts as a
breaking change and how deprecation works.