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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nestlog-4.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-4.tar.gz
Algorithm Hash digest
SHA256 6a98c8a0394199424a3eb62a5b127650112bb575ebc9605e6b2315aee90fc64b
MD5 4fb6e3e5892770ef27d4ff7c1804583a
BLAKE2b-256 98e238702d3378cd2ad2a78d16cb15f7f9c9d7491f91c70e8ca6175b6cf02220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nestlog-4-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-4-py3-none-any.whl
Algorithm Hash digest
SHA256 bf22e1ecf3faf36e56902ba81f98cc528154d914a86e3a59f4d2672150bd8be3
MD5 0283f4143ec3e0ef48da2cf9c10d9eaa
BLAKE2b-256 b939b05b9d4f3a1f015f3e6412b7d5e03540da573f2a6002f887822f5dc99ac7

See more details on using hashes here.

Supported by

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