Skip to main content

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:

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


Download files

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

Files for carson-logging, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size carson-logging-0.0.3.tar.gz (3.2 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