Skip to main content

Print Logger

Python print with strict structure

Install

pip install print-logger

Usage

from print_logger import print_log, ERROR, INFO, WARNING

# info level
print_log('message info', INFO)
# error level
print_log({'message': 'error'}, ERROR)
# warning level
print_log('message warning', WARNING)
# custom level
print_log('message custom', 'CUSTOM')

Release files for print-logger 1.0.3

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

Source distribution (sdist)

Source distribution for print-logger 1.0.3
File Size Uploaded
print_logger-1.0.3.tar.gz 2.8 kB Details

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.0.2

1 release file

0.0.1

1 release file

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