Skip to main content

Special logger for outputting tree like logs

Project description

PyPi Latest Build Codecov Docs Quality Gate Status

Security Rating Vulnerabilities Bugs Reliability Rating Lines of Code

Package Status PyVersions PyPI Downloads

License

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')

SonarCloud

Quality gate

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-3.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

nestlog-3-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file nestlog-3.tar.gz.

File metadata

  • Download URL: nestlog-3.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

Hashes for nestlog-3.tar.gz
Algorithm Hash digest
SHA256 97de92e77fd70ca36e4f23d0bdf40e46ebaaa93a23d595cae3db52cfbcc5820d
MD5 7c0a69109848f7ecd49e338f710ec90c
BLAKE2b-256 80751467ffc31d0a9144a2b0e1bb1e35eaa7275180f1df9d185e543af881c510

See more details on using hashes here.

File details

Details for the file nestlog-3-py3-none-any.whl.

File metadata

  • Download URL: nestlog-3-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

Hashes for nestlog-3-py3-none-any.whl
Algorithm Hash digest
SHA256 72b9654ecb036869cacdfa7e99ee492daedd74a3f73704dcc6db7592768e54ea
MD5 9758448f99dbde893c86a3e233b1cfb2
BLAKE2b-256 af2e38caa415e96e9aaf43da936467ba6df20033c68214552fd08f5da5d19d18

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page