A simple logger for python
Project description
Simple Python logger
A simple logger for console/file logging with duplicate logs filter support
Release new version
requirements
- Export GitHub token
export GITHUB_TOKEN=<your_github_token>
Run the following once (execute outside repository dir for example ~/
):
sudo npm install --global release-it
npm install --save-dev @release-it/bumper
usage
- Create a release
git pull
release-it # Follow the instructions
Usage
from simple_logger.logger import get_logger
logger = get_logger(name=__name__, level=logging.DEBUG, filename="my-log.log")
logger.info("This is INFO log")
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
Close
Hashes for python_simple_logger-1.0.13.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff5bc7c4869c7d7a656413d0b8bcd8e0a259392f32c1946ab92a8cf761ac6d71 |
|
MD5 | 143198cba5298f3397a99806a6fbdcb9 |
|
BLAKE2b-256 | 793ff8f8e0bf9ff1df42755ac7290bdc48eec413834c9a81f79fcbe188f26e93 |