No project description provided
Reason this release was yanked:
reconfigure not work
Project description
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")
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 advanced_logger-1.0.0a1.post5.tar.gz.
File metadata
- Download URL: advanced_logger-1.0.0a1.post5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1c165f4d337b777faf0ccd0b6c540bd7782b5112b1b4fe43674627dba549f03
|
|
| MD5 |
75f6bb90903cb66f78e0364d15cde2ab
|
|
| BLAKE2b-256 |
d6d293c183d6ee679fda23b0b55b6fc157420f82c9b3cb85e4a893851acf604d
|
File details
Details for the file advanced_logger-1.0.0a1.post5-py3-none-any.whl.
File metadata
- Download URL: advanced_logger-1.0.0a1.post5-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c40ca889b8b51cdaf377a39ee2e2c4757c22bcb3d31824fcc664a7bcc5c87ad
|
|
| MD5 |
74a048c16acd5c2fe2ade776124ab640
|
|
| BLAKE2b-256 |
f91eb8421d22387a9bb859c49d2cd6d0e4a4dff5ee4f7334b49dd5105cef8435
|