developer-delphi-horse-logger-console

Log Delphi Horse runtime events to the console for development debugging.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires horse-logger, horse-utils-clientip.

What problem does it solve?

This provider delivers a dedicated console-based logger for Horse in Delphi, ideal for development to visualize runtime events without polluting production logs.

Core Features & Use Cases

  • THorseLoggerConsoleConfig — configure log format with SetLogFormat and read with GetLogFormat.
  • THorseLoggerProviderConsole — provider with default and custom configurations.
  • Usage Scenario — enable in development to debug middleware chains and request flows; disable in production.

Quick Start

Register THorseLoggerProviderConsole via THorseLoggerManager and run your app in development to print logs to stdout.

Frequently Asked Questions about developer-delphi-horse-logger-console

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

FAQPage Schema
How do I enable console logging in a Delphi Horse application?

To enable console logging, register the THorseLoggerProviderConsole via THorseLoggerManager. This routes runtime logs to stdout, allowing developers to visualize request flows during application development.

Can I customize the log format for Horse console output in Delphi?

Yes, you can customize the console log format. Use the THorseLoggerConsoleConfig API to apply your preferred output structure with SetLogFormat and retrieve it using GetLogFormat.

Do I need specific dependencies to use console logging with Horse?

Yes, implementing this console logging solution requires the horse-logger and horse-utils-clientip dependencies. These packages provide the underlying logging manager and client IP utilities required for operation.

When should I not use console logging in my Delphi Horse application?

Console logging should be avoided during production deployment. It is designed specifically for development environments to debug middleware chains and verify request flows without polluting production logs.

What is the best way to debug middleware chains in Delphi Horse?

Using a dedicated console logging provider is the best way to debug Horse middleware chains. It prints runtime events to stdout, helping you verify request and response flows efficiently during development.