A very simple logger
Project description
Just Another Logger
A simple logger that i use in my python projects.
Usage
You can import the logger class like this:
from justanotherlogger import Logger
To set it up, you run:
logger = Logger.Logger()
logger.setup(type=Logger.INFO, filenameDirectory = "./", filename = f"{str(datetime.date.today())}.log"):
| Parameter | Usage |
|---|---|
| type | Determines the minimum Error level of the log, Any log under this level will be ignored |
| filenameDirectory | Tells the Logger which directory to store the log in. |
| filename | Tells the logger what to call the 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
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 justanotherlogger-0.0.3.tar.gz.
File metadata
- Download URL: justanotherlogger-0.0.3.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
238176572aa24e57c3a63b0e407ed3a8ec866068b240deb8ab1ca08c6d6d2a4c
|
|
| MD5 |
73838948e0a9390c0933c1032878ed73
|
|
| BLAKE2b-256 |
a41cb1b740a57f7ac542a0a5716d5c794619ee4eb966063637b811150d19eded
|
File details
Details for the file justanotherlogger-0.0.3-py3-none-any.whl.
File metadata
- Download URL: justanotherlogger-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24d849d99739958c67de5955d0b09bfb90f95ce90d8c483f776dac756f54c60a
|
|
| MD5 |
0bb7ca0b74af11ab5f0935dcac98b63b
|
|
| BLAKE2b-256 |
cde0ffdc2ad936c5743f00391714a4aa8b749afb41aa39a942f04fa673bdadc4
|