24 lines
857 B
Markdown
24 lines
857 B
Markdown
# AyCode.Core.Server
|
|
|
|
Server-side extension of AyCode.Core. Provides server-specific implementations that build on the shared core library.
|
|
|
|
## Folder Structure
|
|
|
|
| Folder | Purpose |
|
|
|---|---|
|
|
| `Loggers/` | Server-side global logger singleton |
|
|
|
|
## Key Files
|
|
|
|
### Loggers/
|
|
- **`GlobalLogger.cs`** — Static singleton facade for server-side logging. Wraps `AcGlobalLoggerBase` (sealed, derives from `AcLoggerBase`). Provides static methods (`Detail`, `Debug`, `Info`, `Warning`, `Suggest`, `Error`, `Write`) with `[CallerMemberName]` support. Default category: `"GLOBAL_LOGGER"`.
|
|
|
|
## Dependencies
|
|
|
|
| Dependency | Purpose |
|
|
|---|---|
|
|
| `AyCode.Core` | Core library (loggers, enums, serializers) |
|
|
| `MessagePack` | MessagePack serialization |
|
|
| `Newtonsoft.Json` | JSON serialization |
|
|
| `Microsoft.Extensions.Logging.Abstractions` | Logging abstractions |
|