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

Uploaded Source

Built Distribution

nestlog-1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nestlog-1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for nestlog-1.tar.gz
Algorithm Hash digest
SHA256 79590cfe511fcc97092825b97d6631f30513c44b44ed0bd0b81a3685003fffb0
MD5 951ce70e02252fc58e308018fc39d955
BLAKE2b-256 d8c473159b4bcc5f811ed84a807ca84aa280f93a3c2c18b785cc9decbe8f8a68

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nestlog-1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for nestlog-1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5b898c4ed79edf3c8b1571801088e5b8fdddba30001b7f74d2f9393233c2da5
MD5 adc1f9a4bf9d9808f33b886fc50c6af4
BLAKE2b-256 103bf72f6cfe02f3fc7b2f5a7743242fa07b38c66467d088f0cfb269c42c17df

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