quirtylog

Last Update: Jan 30, 2026

Version: v0.6.1

mod:

A package for quick and dirty logging with python.

Installation

Run the install command

1pip install quirtylog

Example

 1# Create custom logger object
 2import quirtylog
 3log_path = "/path/to/logs"
 4logger = quirtylog.create_logger(log_path=log_path)
 5
 6# Handle exception and get execution time
 7@quirtylog.measure_time(logger)
 8def f(x):
 9   """A function that raise an exception"""
10   return x/0.
11
12f(42)

quirtylog

quirtylog.core

core.py

quirtylog.sqlite_logger

sqlite_logger.py

quirtylog.tqdm_logger

tqdm_logger.py