AyCode.Core/AyCode.Core.Server/Loggers
Loretta ffd537b5eb Refactor: Split and expand project-level documentation
- Move all major feature docs (logging, binary, SignalR, DataSource) into per-project `docs/` folders with dedicated Markdown files.
- Split monolithic docs into focused files: `BINARY_FORMAT.md`, `BINARY_FEATURES.md`, `BINARY_OPTIONS.md`, `LOGGING.md`, `LOGGING_SERVER.md`, `LOGGING_REMOTE.md`, `SIGNALR.md`, `SIGNALR_SERVER.md`, `SIGNALR_DATASOURCE.md`.
- Update all references in `README.md`, `copilot-instructions.md`, `GLOSSARY.md`, and `ARCHITECTURE.md` to point to the correct per-project doc.
- Add documentation tables to each project’s `README.md` and clarify folder structure.
- Update `.csproj` files to include `docs/**/*.md` for packaging.
- Remove obsolete/moved docs from the solution file.
- Ensure all technical debt warnings and cross-references are preserved and accurate.
- No code changes; documentation only.
2026-03-29 22:16:28 +02:00
..
GlobalLogger.cs Logger improvements, fixes, etc... 2024-05-15 20:04:47 +02:00
README.md Refactor: Split and expand project-level documentation 2026-03-29 22:16:28 +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.