namespace LazyBear.MCP.Services.Logging; public sealed record LogEntry( DateTimeOffset Timestamp, LogLevel Level, string Category, string Message, string? Exception = null) { /// Короткое имя категории (последний сегмент namespace) public string ShortCategory => Category.Contains('.') ? Category[(Category.LastIndexOf('.') + 1)..] : Category; }