Skip to main content

Print Logger Python print with strict structure

Project description

Print Logger

Python print with strict structure


pip install print-logger


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')

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

print_logger-1.0.3.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page