easier to use original python provides a module of logging
Project description
Basic
log = CLogging(“log_name”, “temp_dir/xxx.log”)
log.info(‘info msg’) log.info(‘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
carson_logging-0.0.1.tar.gz
(3.0 kB
view hashes)