Skip to main content

gatolog by gatodata

The simplest way to log your Python applications with colors and file support without complex boilerplate setups. Perfect for beginners and fast-prototyping!

Features

  • 🎨 Colorized Output: Clear visual logs out of the box (Windows, Linux, macOS).
  • 📂 File Logging: Write clean, uncolored logs to files by just providing a path.
  • 🧵 Thread Safe: Safe for multitasking applications.
  • 🧠 Smart Decorator: Easily track function runtimes and catch deep tracebacks on crashes.

Installation

pip install gatolog

Usage

Simple Functions

import gatolog

# Log to console only
gatolog.info("Everything is working smoothly.")
gatolog.warning("Resource usage is a bit high...")
gatolog.error("Database connection lost!")

# Log to console AND to a specific file automatically
gatolog.info("User logged in successfully", file_path="logs/app.log")

Smart Decorator

import gatolog

@gatolog.log_action(file_path="logs/actions.log")
def process_division(x, y):
    return x / y

process_division(10, 2)  # Logs execution success and exact speed
process_division(10, 0)  # Logs the error, time spent, and full error traceback!

Release files for gatolog 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gatolog 0.1.0
File Size Uploaded
gatolog-0.1.0.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gatolog 0.1.0
File Interpreter ABI Platform
gatolog-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / gatolog-0.1.0.tar.gz

Download URL gatolog-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3fbd1f39222abc0273442d9d88f78e751d688fa302f4116568e516c9084f85fc
BLAKE2b-256 checksum
How to use checksums
5250bb188cde036e9546f04de1aae1769b3bca2afa1dac5c3a3d8ace85af26a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / gatolog-0.1.0-py3-none-any.whl

Download URL gatolog-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8df04fb9b73bbedce705718fca9d28fabd920dc83553d3c744594de202bc3b0a
BLAKE2b-256 checksum
How to use checksums
562e52ec8e0b70aa4ed9bbcd8129884f0b82faad820b2604f7f014213f41c11d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page