Skip to content

apathetic-tools/python-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apathetic Python Logging 🪵

CI License: MIT-a-NOAI Discord

📘 Roadmap · 📝 Release Notes

Small quality-of-life features on top of stdlib. Because you don't need another large dependency.

Apathetic Python Logger provides a lightweight, dependency-free logging solution designed for CLI tools. It extends Python's standard library logging module with colorized output, dual-stream handling (stdout/stderr), extra logging levels and context.

Note

Heads up: the AI cooked dinner. It’s edible, but watch your step.
Detailed bug reports welcome.

Quick Start

from apathetic_logging import get_logger, register_logger

# Register your logger
register_logger("my_app")

# Get the logger instance
logger = get_logger()

# Use it!
logger.info("Hello, world!")
logger.detail("Extra verbosity above INFO")
logger.brief("Lower verbosity than INFO")
logger.trace("Trace information")

Installation

# Using poetry
poetry add apathetic-logger

# Using pip
pip install apathetic-logger

Documentation

📚 Full Documentation →

For installation guides, API reference, examples, and more, visit our documentation website.


⚖️ License

You're free to use, copy, and modify the library under the standard MIT terms.
The additional rider simply requests that this project not be used to train or fine-tune AI/ML systems until the author deems fair compensation frameworks exist.
Normal use, packaging, and redistribution for human developers are unaffected.

About

Small quality-of-life features on top of stdlib.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •