quickstartlog
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
Metadata
Release files for quickstartlog 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quickstartlog-0.1.15.zip | 6.7 kB | Details |
Release files / quickstartlog-0.1.15.zip
| Download URL | quickstartlog-0.1.15.zip |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da54a1f3979838cc6e97d1b68b55f960cb4ee3cef7034a3af5ba14e04cbcd48a
|
|
BLAKE2b-256 checksum How to use checksums |
a94dc2a1a213f41c661f015f8be73eccb1aa0a040c27ec0515daeefedcf07572
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |