Skip to main content

A simple log utility for building application quickly

Project description

A simple log utility, write log into console & file(TimedRotatingFileHandler)

Examples

main.py:

import quickstartlog as qslog

qslog.info('this is info message')
qslog.warn('this is warning message')
qslog.error('this is error message')

console output & ./var/log/quickstart.log:

[10:13:44 INFO ] this is info message
[10:13:44 WARNI] this is warning message
[10:13:44 ERROR] this is error message

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

quickstartlog-0.1.6.zip (6.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page