Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.93 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.93 KB

flask-requests-logging

Build Status Test Coverage Code Climate Issue Count PyPI PyPI version PyPI License

Log all Flask requests with varying levels depending on the severity of the result

Installation

pip install flask-requests-logging

Or to install latest master version:

pip install git+https://github.com/smok-serwis/flask-requests-logging.git

Usage

import flask
from flask_requests_logging import FlaskRequestsLogging

app = flask.Flask(__name__)
FlaskRequestsLogging(app)

Go read the if you're interested in the details.

Enjoy!

Changelog

v0.5

  • logger will now log path instead of the match

v0.4

  • added support for logging exception tracebacks

v0.3

  • added measuring how long given request has taken

v0.2

  • added pass_as_extras parameter

v0.1

  • first release, wow!