developer-delphi-horse-logger

Define a pluggable logging infrastructure for Horse in Delphi with multiple providers.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-horse-logger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developer-delphi-horse-logger
Source: https://github.com/cslsoftwares/ParamentersORM/tree/main/.cursor/skills/developer-delphi-horse-logger_V1.0.0
Command: npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-horse-logger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plug-in logging infrastructure for Horse: defines the provider contract and management of output providers. Concrete providers live in separate skills.

Core Features & Use Cases

  • RegisterProvider and HorseCallback to route logs through multiple providers.
  • Provider contract and architecture to support multiple outputs (console, file, etc.).
  • Variables/format options for log lines (time, client IP, request method, path, status, duration).
  • Use cases: configure logging in Horse-based apps and implement custom providers.

Quick Start

Configure THorse to use the HorseLoggerManager by registering at least one provider and wiring the HorseCallback as middleware before starting the server.

Frequently Asked Questions about developer-delphi-horse-logger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add logging middleware to a Horse web server in Delphi?

Horse logging supports multiple providers simultaneously, allowing you to route logs to console, files, or custom destinations. Use cases include formatting logs with variables like time, client IP, status, and duration across all active outputs.

Can I format Horse logs with variables like client IP and request duration?

Horse logging defines a formal provider contract via the THorseLoggerProvider interface. You implement custom providers to route logs to custom destinations, then use RegisterProvider to add them to the logging pipeline.

Does Horse logging support multiple output providers at the same time?

Concrete Horse logging providers, such as console or file outputs, live in separate skills. You install the specific provider skills you need and register them through THorseLoggerManager in your Delphi application.

Do I need to install separate skills for Horse console and file logging providers?

You implement custom Horse logging providers by satisfying the THorseLoggerProvider interface. This formal provider contract allows you to define custom log routing destinations and format variables before registering them via THorseLoggerManager.