flask-requests-logging-0.6


توضیحات

Log all your Flask requests with severity depending on the result code
ویژگی مقدار
سیستم عامل POSIX
نام فایل flask-requests-logging-0.6
نام flask-requests-logging
نسخه کتابخانه 0.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Piotr Maślanka
ایمیل نویسنده pmaslanka@smok.co
آدرس صفحه اصلی https://github.com/smok-serwis/flask-requests-logging
آدرس اینترنتی https://pypi.org/project/flask-requests-logging/
مجوز -
# flask-requests-logging [![Build Status](https://travis-ci.com/smok-serwis/flask-requests-logging.svg)](https://travis-ci.com/smok-serwis/flask-requests-logging) [![Test Coverage](https://api.codeclimate.com/v1/badges/dc7467fe51588e461e87/test_coverage)](https://codeclimate.com/github/smok-serwis/flask-requests-logging/test_coverage) [![Code Climate](https://codeclimate.com/github/smok-serwis/flask-requests-logging/badges/gpa.svg)](https://codeclimate.com/github/smok-serwis/flask-requests-logging) [![Issue Count](https://codeclimate.com/github/smok-serwis/flask-requests-logging/badges/issue_count.svg)](https://codeclimate.com/github/smok-serwis/flask-requests-logging) [![PyPI](https://img.shields.io/pypi/pyversions/flask-requests-logging.svg)](https://pypi.python.org/pypi/flask-requests-logging) [![PyPI version](https://badge.fury.io/py/flask-requests-logging.svg)](https://badge.fury.io/py/flask-requests-logging) [![PyPI](https://img.shields.io/pypi/implementation/flask-requests-logging.svg)](https://pypi.python.org/pypi/flask-requests-logging) [![License](https://img.shields.io/pypi/l/flask-requests-logging)](https://github.com/Dronehub/flask-requests-logging) Log all Flask requests with varying levels depending on the severity of the result ## Installation ```bash pip install flask-requests-logging ``` Or to install latest master version: ```bash pip install git+https://github.com/smok-serwis/flask-requests-logging.git ``` ## Usage ```python import flask from flask_requests_logging import FlaskRequestsLogging app = flask.Flask(__name__) FlaskRequestsLogging(app) ``` Go read the [if you're interested in the details](flask_requests_logging/__init__.py). Enjoy! ## Changelog ### v0.6 * added option to emit logging info before the request ### 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!


نیازمندی

مقدار نام
- flask
- satella


زبان مورد نیاز

مقدار نام
!=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.* Python


نحوه نصب


نصب پکیج whl flask-requests-logging-0.6:

    pip install flask-requests-logging-0.6.whl


نصب پکیج tar.gz flask-requests-logging-0.6:

    pip install flask-requests-logging-0.6.tar.gz