SmartPyLogger
GitHub

Announcing Our First Version

Read more
Open Source

The most comprehensive logging framework for FastAPI.

git:(main)xpipsmartpylogger
01from fastapi import FastAPI
02from smartpylogger import LoggingMiddleware
03
04app = FastAPI()
05
06# Add comprehensive logging
07app.add_middleware(
08 LoggingMiddleware,
09 api_key="YOUR_API_KEY",
10 capture_requests=True,
11 capture_responses=True,
12 track_performance=True
13)
Live Request Log
5 active
G
/api/users
145ms
P
/api/auth/login
89ms
P
/api/profile
203ms
Avg: 183ms
Success: 98.2%
Updated 2s ago
Comprehensive Request Logging
Live HTTP/HTTPS request logging with full history and performance tracking for your FastAPI applications.
TimeMethodIPFlagStatus
14:32:15GET192.168.1.1001blocked
14:32:18POST10.0.0.250allowed
14:32:22PUT203.0.113.451blocked
CORS Middleware on Steroids
Advanced CORS functionality with IP blocking, origin filtering, and detailed logging of disallowed requests.
API Requests
Live
1,247 total
TimeMethodEndpointFlag
14:32GET/api/users0
14:31POST/api/auth0
Page 1 of 124
Real-time Dashboard
Monitor all incoming requests, blocked traffic, and performance metrics in a beautiful, intuitive dashboard.
!

Performance Issue Detected

High Latency

AI

AI Analysis Complete

Optimized

Code Quality Improved

Excellent

AI-Powered Code Analysis
Get intelligent analysis of your requests and codebase for debugging, testing, and performance optimization.
1

pip install smartpylogger

Add middleware & you're done!

Logging active • Dashboard ready

One-Line Integration
Simple setup: pip install, import, add your API key, and you're ready to go with comprehensive logging.
Own your logs

Roll your own logging with confidence in minutes!