A logger setup module for Python projects
Project description
my_logger
how to use :
from logs_operations.logger_setup import setup_logger
logger1 = setup_logger(log_file="logs/logfile_name", log_handler='logger1', backup=15)
logger2 = setup_logger(log_file="logs/logfile2_name", log_handler='logger2', backup=15)
logger1.info("this is written to logfile_name")
logger2.info("this is in logfile2_name")
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
luke_logger-0.1.0.tar.gz
(6.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file luke_logger-0.1.0.tar.gz.
File metadata
- Download URL: luke_logger-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea6c8a6790123ff8f31b579e8bc61a9f8118e81f5569574dc411fb9ec5e607d7
|
|
| MD5 |
1474f90919baafdbd26f01af720e24e2
|
|
| BLAKE2b-256 |
22941922f6b23b03bb36b2c3dd1b00ea4c434819ed10eb58369a136bc477205f
|
File details
Details for the file luke_logger-0.1.0-py3-none-any.whl.
File metadata
- Download URL: luke_logger-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00b2d683eb2af39327b4b2dfd816fb026bfb0bc1f9202d241e6be5ac47f932dc
|
|
| MD5 |
645736a54628239a11280acd0d594260
|
|
| BLAKE2b-256 |
c6b28bc269454d371958a7609c6c4811f0c5bb5215ccf49fef278c484f13ec56
|