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.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4be72da23dc35b030f82e79d2093b6f1c659fae6c3b2120a03b1c92077fde8a9 |
|
MD5 | 6b07c079f4c4cee430a783d733600afb |
|
BLAKE2b-256 | 4ff3bb748397404b300ded283521c0439db5e0aa01c06bdf62cf0b9c730d288c |