Pre-release
This release is a pre-release and may not be stable for production use.
Advanced logger
it provides colorful printing and it is be able to customize
Install
Run command:
pip install advanced-logger
Try it
import logger
logger.debug("Hello")
Do something andvanced
- Colorful printing
Write this line before any action
import logger as log
logger = log.getLogger("test.test", colored=True)
logger.debug("Hello")
- Write your own handler
If you want to pipe message to standard error output, you do:
from logger.handler import FileObjectHandler
import logger as log
import sys
class StdErrHandler(FileObjectHandler):
def __init__(self):
super().__init__(sys.stderr)
logger = log.getLogger("test", handler=StdErrHandler())
logger.debug("test")
Release files for advanced-logger 1.0.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| advanced_logger-1.0.0a2.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| advanced_logger-1.0.0a2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / advanced_logger-1.0.0a2.tar.gz
| Download URL | advanced_logger-1.0.0a2.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0aa8abb0b14767d823185c23632ade047f445478f858b3e1a7164587f59a5618
|
|
BLAKE2b-256 checksum How to use checksums |
8b85d067eac2728f010df675e9dd47011270486c41b59fa355c4bb9428c48e7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.9
|
Release files / advanced_logger-1.0.0a2-py3-none-any.whl
| Download URL | advanced_logger-1.0.0a2-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
923d53b4f28ee6f2a0a279c66a3ba5fa75e4bbbf5e5ae2eed44edc0908032ed5
|
|
BLAKE2b-256 checksum How to use checksums |
238a713c09914616572f088f6555783eb6f3c21c85ab776b6a9dc18a1e16b6b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.9
|