logHandler
Project description
logHander is a simple package to create log. I copy paste same file in all of my project. I decided to create thid as a package and simply import it. Currently limited to basic functionality but plans to upgrade it in future.
Features
- Simple add basic log functionality.
- logs to console.
Installation
pip install logHander
Ussage
from logHandler import Logger
Logger('path to log folder', 'log name', [optional] log_level)
# somewhere in the package
import logging
log = logging.getLogger('log name')
log.info("Hello There")
Development
To install logHandler along with tools for developnment and testing run following command.
pip install -e .[dev]
Metadata
Release files for my-log-handler 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| my-log-handler-0.1.0.tar.gz | 16.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| my_log_handler-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.6 kB
Release files / my-log-handler-0.1.0.tar.gz
| Download URL | my-log-handler-0.1.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a26bce5c0f1b4842e813ff1ab486fd998e7ef04c11683f80730319ef30869b2
|
|
BLAKE2b-256 checksum How to use checksums |
a2944700c5e98cfa4d04faca306e1cef58e3547b4ffca4c9db96a83ff91be868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / my_log_handler-0.1.0-py3-none-any.whl
| Download URL | my_log_handler-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51a17f9d7a15c21e71c7a7c257c220a9ec588f40020361f8c88c2e4b02298052
|
|
BLAKE2b-256 checksum How to use checksums |
87fccaa24e2b00a64b1aff9cb438353404e70cb87354abf5f2af0ff0e2769bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|