easier to use original python provides a module of logging
Project description
This project has a lot of packages.
All package consists of the following:
CLogging
Issues : https://github.com/CarsonSlovoka/carson-logging/issues
USAGE
Basic
log = CLogging("log_name", "temp_dir/xxx.log") log.info('info msg') log.debug('info msg') log.warning('info msg') log.error('info msg') log.critical('info msg')
Advanced
my_define_format = logging.Formatter(u'%(asctime)s|%(levelname)s|%(name)s|%(message)s') log = CLogging("log_name", "C:dir/xxx.log", logging.INFO, 'w', my_define_format, stream_handler_on=True, stream_level=logging.ERROR)
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
Close
Hashes for carson_logging-0.0.2.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563cabb85c178b3f8027cff816168d2fb485f9a3d8be7fa9ece19fa39e0bbaf0 |
|
MD5 | 45fea087166de8d9d47115fe4a4dd395 |
|
BLAKE2b-256 | fdda10996e62f2ee1c3511200b9f2aad975a47a49d91bbf16c281d9ade2a6f63 |