Skip to main content

DDD Api Gateway Framework

Build Status Pypi Status Coveralls Status

Installation

From source code:

python setup.py install

From pypi:

pip install flask-logger-decorator

Usage

from flask_logger_decorator.logger_extension import LoggerExtension


logger = LoggerExtension()
logger.init_app(app)

#examples
2019-08-28T10:33:34 flask-request-logger      DEBUG: trace_uuid=befc1448-8f6d-4d1e-88ca-d3e04cd16f8e endpoint=/api/v1/user method=GET  query_args: post_values:
2019-08-28T10:33:34 flask-request-logger      DEBUG: trace_uuid=befc1448-8f6d-4d1e-88ca-d3e04cd16f8e ip=127.0.0.1 method=GET  path:/api/v1/user status_code:401

License

This software is licensed under the MIT license

See License file

Changelog

0.1.1

  • Update readme with usage

0.1.0

  • Release Alpha version with basic log for all requests

Release files for flask-logger-decorator 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flask-logger-decorator 0.1.1
File Size Uploaded
flask-logger-decorator-0.1.1.tar.gz 5.8 kB Details

Release files / flask-logger-decorator-0.1.1.tar.gz

Download URL flask-logger-decorator-0.1.1.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a529546cbfbaf3547f89a0925c93c4d08165c8dd825ef1eaba5ac52de275129
BLAKE2b-256 checksum
How to use checksums
f9f88f8ff3e2961ca2dc6e8a6174f45d831e91fcd1800e6f5b460e0a06bfed2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page