quickstartlog 0.1.15
pip install quickstartlog
Latest version
Released:
A simple log utility for building application quickly
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: Sun Jin
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
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
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (UNKNOWN)
- Author: Sun Jin
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file quickstartlog-0.1.15.zip
.
File metadata
- Download URL: quickstartlog-0.1.15.zip
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da54a1f3979838cc6e97d1b68b55f960cb4ee3cef7034a3af5ba14e04cbcd48a |
|
MD5 | 87406734024be545a4266d47d410d033 |
|
BLAKE2b-256 | a94dc2a1a213f41c661f015f8be73eccb1aa0a040c27ec0515daeefedcf07572 |