AyCode.Core/AyCode.Services/Loggers
Loretta fbe142c6f3 Add detailed README.md files for all projects and folders
Added comprehensive README.md documentation to every project and subfolder in the solution. Each README describes the purpose, key files, structure, dependencies, and design patterns for its area. This improves codebase navigability and maintainability, and includes a maintenance note to keep docs in sync with future code changes.
2026-03-28 17:24:56 +01:00
..
AcBrowserConsoleLogWriter.cs AcSignalRClient; AcBrowserLogWriter... 2025-09-01 16:19:01 +02:00
AcHttpClientLogItemWriter.cs fixes 2024-05-18 13:18:28 +02:00
AcSignaRClientLogItemWriter.cs Implement SignalRLoggerClient 2025-09-02 11:48:05 +02:00
README.md Add detailed README.md files for all projects and folders 2026-03-28 17:24:56 +01:00

README.md

Loggers

Remote log writers for sending log items over HTTP, SignalR, or to the browser console.

Key Files

  • AcHttpClientLogItemWriter.cs — Abstract generic writer extending AcLogItemWriterBase<TLogItem>. Sends log items via HTTP POST as JSON. Manages its own HttpClient lifecycle.
  • AcBrowserConsoleLogWriter.cs — Browser console writer via JS interop (IJSRuntime). Maps LogLevel to console methods (log, warn, error). Used in Blazor apps.
  • AcSignaRClientLogItemWriter.cs — Sends AcLogItemClient items to a SignalR hub. Manages HubConnection lifecycle with StartConnection()/StopConnection().

All three implement IAcLogWriterClientBase.


LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.