Skip to content

Instantly share code, notes, and snippets.

View KernelPryanic's full-sized avatar
🇺🇦
What the fuck is going on!? FRANCE, FREE PAVEL DUROV!

Daniil Trishkin KernelPryanic

🇺🇦
What the fuck is going on!? FRANCE, FREE PAVEL DUROV!
  • JW Player
  • Amsterdam, Netherlands
View GitHub Profile
package log
import (
"context"
"fmt"
"os"
"runtime"
"sync"
"time"
@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):