AyCode.Core/AyCode.Core.Server/Loggers
Loretta 541cebbed8 Update README links to use code-style paths for docs
Replaced Markdown links with plain code-style paths in all README.md files for consistency. Updated references to logging, SignalR, and dynamic method dispatch documentation. Clarified some documentation paths and improved consistency in context/architecture sections. No code changes—documentation only.
2026-03-30 08:01:05 +02:00
..
GlobalLogger.cs
README.md Update README links to use code-style paths for docs 2026-03-30 08:01:05 +02:00

README.md

Loggers

Server-side singleton logger for static access across the application.

For full logging architecture see docs/LOGGING.md. For core logger and writer abstractions see AyCode.Core/Loggers/README.md.

Key Files

  • GlobalLogger.cs — Singleton static wrapper around an internal AcGlobalLoggerBase (sealed AcLoggerBase subclass). Provides static methods for all log levels (Detail, Debug, Info, Warning, Suggest, Error, Write). Default category: "GLOBAL_LOGGER". Reads config from appsettings.json like any AcLoggerBase. Exposes GetWriters and Writer<T>() for accessing specific writer instances.