{ "info": { "author": "Takashi Morioka", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet" ], "description": "GAE Collerated Logger\n===\n\nCollerated request logger for GAE python3 flexible|standard environment\n\nInstall\n---\n\nfrom PyPI\n```\npip install gaecl\n```\n\nfrom github\n```\npip install --user git+https://github.com/takashi8/gaecl\n```\n\nUse as WSGI Middleware\n---\n\n```python\nfrom gaecl import RequestLoggerMiddleware\n\n# app: WSGI app instance\n\napp = Flask(__name__)\napp = RequestLoggerMiddleware(\n app,\n loglevel='INFO',\n project=os.getenv('GOOGLE_CLOUD_PROJECT'),\n module=os.getenv('GAE_SERVICE'),\n version=os.getenv('GAE_VERSION'),\n)\n\n@app.route('/')\ndef log():\n logging.info('info log')\n logging.warn('warn log')\n logging.error('error log')\n logging.critical('critical log')\n return 'ok'\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/takashi8/gaecl", "keywords": "google app engine stackdriver", "license": "", "maintainer": "", "maintainer_email": "", "name": "gaecl", "package_url": "https://pypi.org/project/gaecl/", "platform": "", "project_url": "https://pypi.org/project/gaecl/", "project_urls": { "Bug Reports": "https://github.com/takashi8/gaecl/issues", "Homepage": "https://github.com/takashi8/gaecl", "Say Thanks!": "https://github.com/takashi8/gaecl#say-thanks", "Source": "https://github.com/takashi8/gaecl" }, "release_url": "https://pypi.org/project/gaecl/0.1.0/", "requires_dist": [ "google-cloud-logging", "werkzeug" ], "requires_python": ">=3.6", "summary": "Collerated request logger for GAE python3 flexible|standard environment", "version": "0.1.0" }, "last_serial": 5276702, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "14e7ba8aa45b2343b192e4f4e8b1b733", "sha256": "98152783b9df7f3a4edb996f3bf63a5a32bc0e11e2dc9d4f65edeee86caea3a1" }, "downloads": -1, "filename": "gaecl-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "14e7ba8aa45b2343b192e4f4e8b1b733", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5987, "upload_time": "2019-05-16T10:00:36", "url": "https://files.pythonhosted.org/packages/1b/67/e1e2b5b20e6cfe79140c6b0464e8fa67f3ab5c1989271be978d9df481df7/gaecl-0.1.0-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "14e7ba8aa45b2343b192e4f4e8b1b733", "sha256": "98152783b9df7f3a4edb996f3bf63a5a32bc0e11e2dc9d4f65edeee86caea3a1" }, "downloads": -1, "filename": "gaecl-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "14e7ba8aa45b2343b192e4f4e8b1b733", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 5987, "upload_time": "2019-05-16T10:00:36", "url": "https://files.pythonhosted.org/packages/1b/67/e1e2b5b20e6cfe79140c6b0464e8fa67f3ab5c1989271be978d9df481df7/gaecl-0.1.0-py3-none-any.whl" } ] }