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

Uploaded Source

Built Distribution

nestlog-7-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nestlog-7.tar.gz
Algorithm Hash digest
SHA256 c2b4dba43e176883b22714066bda3a1ae2cb2bf1c43a9d428316ce8d7c2ce325
MD5 dc5976e8a32ecdfd8ecd1cea26cd2064
BLAKE2b-256 ce21e300f6b65c45eb9c9d8ee250262fa6bdcec293501a23a3d8c7f6de7105a7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nestlog-7-py3-none-any.whl
Algorithm Hash digest
SHA256 af163bc979ad30b43b637afdb1caa2b546c67eb170b181fb66ff7a908068780f
MD5 680c44cf1c8750c71e81d8676bdc6bb4
BLAKE2b-256 a8156316d37f31f91ac830d644ca57d19dac93f206d74ac1d45122a65784387f

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