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:

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


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.3.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file carson-logging-0.0.3.tar.gz.

File metadata

  • Download URL: carson-logging-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for carson-logging-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8a7aec6cb60110c92b94c365d3511f1cd51ce80e67f37a5a693ce2ee8d2eca1a
MD5 ec7ec7d08ef9bc470451140ffc9becfe
BLAKE2b-256 4e10b0bc16d45a2b45f8240af019de143c8da351f08db3c7a55dc076e6e24fd2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page