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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6b724f253bf9bf34b48e2ac4b6b0f113ffe5440d4a177b3d3aabd06c3b13cf0 |
|
MD5 | 86847dda7216db95211319e731ef5d38 |
|
BLAKE2b-256 | 43a3cc86ebb8b754e286e8fe85e31a31b66e4736cc15d73bd3064ed10a54f41f |