Python supporter
Project description
python-supporter
https://pypi.org/project/python-supporter
pip install python-supporter
'''
import python_supporter
#python_supporter.logging.basicConfig(python_supporter.logging.ERROR)
#python_supporter.logging.basicConfig(python_supporter.logging.INFO)
python_supporter.logging.basicConfig(python_supporter.logging.DEBUG)
#python_supporter.logging.basicConfig(python_supporter.logging.ERROR, filename='log.txt')
#python_supporter.logging.basicConfig(python_supporter.logging.INFO, filename='log.txt')
#python_supporter.logging.basicConfig(python_supporter.logging.DEBUG, filename='log.txt')
python_supporter.logging.error('This is error message') #2023-03-19 22:36:47: DEBUG: This is debug message
python_supporter.logging.info('This is info message') #2023-03-19 22:36:47: INFO: This is info message
python_supporter.logging.debug('This is debug message') #2023-03-19 22:36:47: ERROR: This is error message
'''
from python_supporter import logging
#logging.basicConfig(logging.ERROR)
#logging.basicConfig(logging.INFO)
logging.basicConfig(logging.DEBUG)
#logging.basicConfig(logging.ERROR, filename='log.txt')
#logging.basicConfig(logging.INFO, filename='log.txt')
#logging.basicConfig(logging.DEBUG, filename='log.txt')
logging.error('This is error message') #2023-03-19 22:36:47: DEBUG: This is debug message
logging.info('This is info message') #2023-03-19 22:36:47: INFO: This is info message
logging.debug('This is debug message') #2023-03-19 22:36:47: ERROR: This is error message
Project details
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
python-supporter-0.0.8.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for python_supporter-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d00773b8c1b1454a50672c5411484b4b641c1d2afb3eb4eeeb62113604b646 |
|
MD5 | 66061b3b0439f192ac86aa12f7947f5f |
|
BLAKE2b-256 | aca130377d6be6457eeecab2dd293c1cfbae676d8e07720c1c018ab2bb5bf867 |