Skip to main content

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


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 details)

Uploaded Source

File details

Details for the file carson_logging-0.0.1.tar.gz.

File metadata

  • Download URL: carson_logging-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for carson_logging-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ab9fa14f95284bc2427b87f0e9706a9039b4501c70019b9d919c03933b864dfa
MD5 9aea9260ef208e8a28ca4c9b14ba7d99
BLAKE2b-256 4e4e17fc3167054260c6bbde670e228bc7c5792552714d4b674f7f6cbf9427a5

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