backend-logging

Community

Unified backend logs for clear observability.

Authoragusmdev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The backend logging system ensures every HTTP request yields a single, richly contextual log entry, simplifying debugging and observability across services.

Core Features & Use Cases

  • WideEventMiddleware emits one canonical log per request after completion, enriched with method, path, status, duration, and context.
  • log helpers (log_action, log_entity, log_entities, log_custom, log_user) provide structured, consistent context tagging for handlers and services.
  • Use cases include debugging request flows, auditing user actions, and monitoring performance with automatic sanitization of sensitive data.

Quick Start

Implement end-to-end structured logging in FastAPI apps by wiring WideEventMiddleware and log helpers in your routes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: backend-logging
Download link: https://github.com/agusmdev/fullstack-ai-template/archive/main.zip#backend-logging

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.