Structured logs and middleware for fastapi with sentry integration
Project description
FastAPI structured logs
Provides a wrapper over the structlog for additional
doping in json format, as well as output of standard
logs to the console, configuration via .env
files
via pedantic.
In addition, middleware and a sentry
configuration
are available for use in FastAPI applications.
Installation
Using logging
Logger configuration
Using logging in a FastAPI application
Using middleware in a FastAPI application
Using Sentry in a FastAPI application
Examples
Dependencies
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastapi_structlog-0.2.0.tar.gz
(17.3 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_structlog-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c80bbd03cd0d0b7852bffaebd3c6a1190fd4bbe3572c16aef5ce8f4c030bd0b1 |
|
MD5 | 672846427dde7fc56f52262b68fa8532 |
|
BLAKE2b-256 | 8bcde06b8c8e4ac708d114b8f02ecc9e3a231aff8228f47401c1dc5cac907a2c |