Skip to main content

Flask-logsocketio

Flask-logsocketio generate on socketio “log” log of your application

It use flask-socketio module

Installation

pip install flask-logsocketio

Or

git clone https://github.com/fraoustin/flask-logsocketio.git
cd flask-logsocketio
python setup.py install

Usage

from flask import Flask, request, current_app
from flask_logsocketio import LogSocketIO

app = Flask(__name__)
app.secret_key = 'super secret string'
app.register_blueprint(LogSocketIo(ui_testing=True))

@app.route("/")
def hello():
    current_app.logger.error("error from hello")
    current_app.logger.info("info from hello")
    current_app.logger.debug("debug from hello")
    return "Hello World!"

if __name__ == "__main__":
    app.run(port=8080)

Feature

V. 0.1.4

  • hotfix requirement

V. 0.1.1

  • add param url_prefix

V. 0.1.0

  • init

Metadata

Release files for flask-logsocketio 0.1.4

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-logsocketio 0.1.4
File Size Uploaded Provenance Actions
flask-logsocketio-0.1.4.tar.gz 13.2 kB Without provenance Details for flask-logsocketio-0.1.4.tar.gz

Release files / flask-logsocketio-0.1.4.tar.gz

Download URL flask-logsocketio-0.1.4.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7282cb32ea2c57d8739b3b22681ed32502445fca75610d2706e7460033120c85
BLAKE2b-256 checksum
How to use checksums
b678a30be76cf865fee0e2be84d975801c2d40952ecd66eac31ed65d8d7d42cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for flask-logsocketio 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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