Skip to content

Instantly share code, notes, and snippets.

View KernelPryanic's full-sized avatar
🇺🇦
Julian Assange is not a spy

Daniil Trishkin KernelPryanic

🇺🇦
Julian Assange is not a spy
  • JW Player
  • Amsterdam, Netherlands
View GitHub Profile
@KernelPryanic
KernelPryanic / logger.py
Last active November 2, 2023 17:27
Flask + Structlog
"""Logger module for the application."""
import logging
import sys
from logging import Handler, LogRecord
import structlog
class StructlogHandler(Handler):