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.

Example

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

Uploaded Source

Built Distribution

nestlog-2-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nestlog-2.tar.gz
Algorithm Hash digest
SHA256 e45fa531689aa14c9d9e87d03dba7422c1a2f988bbf86f5d52b949af9b1c837e
MD5 6541c1b5c60067339883bae2bdcfb337
BLAKE2b-256 34ff6efefb8e4c184833d2eee1f06b200e2c843a60e902bd2dcc65ed3899b252

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nestlog-2-py3-none-any.whl
  • Upload date:
  • Size: 16.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-2-py3-none-any.whl
Algorithm Hash digest
SHA256 14e104f49e48af6cdd96ac60e349f583667f8e413d7ec4850457b3aec57f91f2
MD5 e1e0d0a27f3add4778822a746e0baea6
BLAKE2b-256 29121abe163e61e5a13eb6a03286ee3c134fc11470bb74334e8fadf34a406d3c

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