Special logger for outputting tree like logs
Project description
Welcome to Nestlog
nestlog is a formatted shell logger for producing colored tree like logs.
See the Documentation for more help.
Installation
From PyPI directly:
pip install nestlog
Examples
This is how you use the logger
import nestlog
logger = nestlog.NestLogger()
with logger('starting application'):
with logger('starting section 1'):
logger.okay('doing something important')
logger.warn('warning message')
logger.fail('failure message')
with logger('starting section 1'):
logger.okay('doing something important')
logger.okay('doing something else important')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nestlog-5.tar.gz
(16.5 kB
view details)
Built Distribution
nestlog-5-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file nestlog-5.tar.gz
.
File metadata
- Download URL: nestlog-5.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ed3570fe27ab33dfebab9c30d2b43116ef6e7061936284c15fa1ac2e3413b1 |
|
MD5 | bb73056e61a53e76c7ff9ea56f247922 |
|
BLAKE2b-256 | e4bfae900696367324e3dc3d9316e936da622e2bd6b290cca979531675db4509 |
File details
Details for the file nestlog-5-py3-none-any.whl
.
File metadata
- Download URL: nestlog-5-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8406493c0ced07f00eae18206058491ed23467428ed835f52aee29843170aee2 |
|
MD5 | b774be712f4545cfbd4c7ed2cf38b282 |
|
BLAKE2b-256 | 3a4259e9b2b0a6ba5781ea07174e1422bb0f21464ac0836de3c9b3cf31ac5ce2 |