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
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
log5-0.0.2.tar.gz
(3.1 kB
view details)
File details
Details for the file log5-0.0.2.tar.gz.
File metadata
- Download URL: log5-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.0rc2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad592f7bbf90f77c2d84a79126b2c83316774cca7e1d296de132378eae409418
|
|
| MD5 |
df72d6eefad79162272459e8849a3f37
|
|
| BLAKE2b-256 |
be1ef24be003a6387a71793ec4e7dc6f43aae27165b305b1c0f530d19d4ce807
|