Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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.debug('this is debug')
qslog.info('this is info')
qslog.warn('this is warning')
qslog.error('this is error')
qslog.info_ex(qslog.LIGHT_GREEN)('this is info with LIGHT_GREEN')

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

[19:30:07 INFO ] this is info
[19:30:07 WARNI] this is warning
[19:30:07 ERROR] this is error
[19:30:07 INFO ] this is info with LIGHT_GREEN

Project details


Download files

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

Files for quickstartlog, version 0.1.15
Filename, size File type Python version Upload date Hashes
Filename, size quickstartlog-0.1.15.zip (6.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page