Skip to main content

Test whether your code is logging correctly 🪵

Project description

Log-based testing 🪵

Poetry Build Docs PyPI version Supported Python versions

logot makes it easy to test whether your code is logging correctly:

from logot import Logot, logged

def test_my_app(logot: Logot) -> None:
    app.start()
    logot.wait_for(logged.info("App started"))

Documentation 📖

Full documentation is published on Read the Docs.

Bugs / feedback 🐛

Issue tracking is hosted on GitHub.

Changelog 🏗️

Release notes are published on GitHub.

License ⚖️

logot is published as open-source software under the MIT license.

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

logot-0.3.3.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

logot-0.3.3-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

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