Skip to content

Instantly share code, notes, and snippets.

Avatar

Jacob Martinez jacobmartinez3d

View GitHub Profile
View example_log2sql.py
import getpass
import logging
import os
import socketio
class SocketIOHandler(logging.Handler):
"""A logging handler that emits records with SocketIO."""
_client = socketio.Client(logger=True, engineio_logger=True)