Skip to main content

Output logs

Project description

Output logs

https://github.com/hailiang-wang/python-log5

Usage:

import log5

logger = log5.get_logger(log5.LN(__name__), output_mode=3)
logger.debug('bar')
logger.info('foo')

output_mode:

  • 1: append to log file

  • 2: print to stdout

  • 3: both file and stdout

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

log5-0.0.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: log5-0.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.0rc2

File hashes

Hashes for log5-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8d7b8da640f1b1df29c674f7a50cf9f94dc3f1c478e8e86240e905ff37e6344d
MD5 a9b4aeede7d57f7397d669a729bfb524
BLAKE2b-256 e01266f84b036d9c44e11022219dd3462279a80212bcc58fd972d474a77bd42b

See more details on using hashes here.

Supported by

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