Skip to main content

Configures logging and allows tweaking the log level with a py.test flag

Project description

See Build Status on Travis CI See Build Status on AppVeyor

Configures logging and allows tweaking the log level with a py.test flag


This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.

Features

  • Configures python’s logging to output log messages to the console(You need to tell PyTest not to capture output).

  • Increases the logging verbosity by lowering the log level by passing -v to PyTest

Requirements

  • None!

Installation

You can install “pytest-logging” via pip from PyPI:

$ pip install pytest-logging

Usage

  • Simply pass one or more -v flag(s) to PyTest to increase logging verbosity

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the Apache 2.0 license, “pytest-logging” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

pytest-logging-2015.11.3.post1.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file pytest-logging-2015.11.3.post1.tar.gz.

File metadata

File hashes

Hashes for pytest-logging-2015.11.3.post1.tar.gz
Algorithm Hash digest
SHA256 87b4345f4eff9b7d60357c878fdefdd0d6ed9cf64c9c26a6f6ba48acc4a112bf
MD5 d53ddc2f7ecee7c680b1595136951359
BLAKE2b-256 82445c6d5c72dcf428b9b9d2801e9077c9f7971c54cbd8d42fe1cd064ce484a0

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