Danro-Jump/Assets/Scripts/Runtime/Debugging/IDebugLogService.cs
Danil Iarosh 77186697f8 Prepare v0.1 gameplay and hardware foundation
Подробные изменения:

- Расширен основной gameplay loop: джетпак, новые платформы, оборудование, враги, прогрессия сложности и ограничения взаимодействий игрока.

- Добавлены Bootstrap-сервисы запуска приложения, защита, фокус окна, управление курсором и настройки сервисов через DI.

- Добавлена COM-интеграция с технической схемой Input System, обработкой кнопок/ADC, подсветкой и консольной диагностикой.

- Добавлен отдельный debug/logging модуль с каналами, обработчиками консоли и файловым выводом.

- Добавлены asmdef, link.xml, EditMode/PlayMode тесты и обновлена дорожная карта проекта.

Проверки:

- dotnet build .\\DanroJump.Runtime.csproj --no-restore

- dotnet build .\\DanroJump.Tests.EditMode.csproj --no-restore

- dotnet build .\\DanroJump.Tests.PlayMode.csproj --no-restore
2026-06-08 14:22:48 +03:00

22 lines
841 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using UnityEngine;
namespace DanroJump.Debugging
{
/// <summary>
/// Централизованный сервис отладочного вывода с фильтрацией по каналам.
/// </summary>
public interface IDebugLogService
{
bool IsEnabled { get; set; }
DebugLogChannel EnabledChannels { get; set; }
DebugLogOutput EnabledOutputs { get; set; }
bool IsChannelEnabled(DebugLogChannel channel);
void Log(DebugLogChannel channel, string message, Object context = null);
void LogWarning(DebugLogChannel channel, string message, Object context = null);
void LogError(DebugLogChannel channel, string message, Object context = null);
void AddHandler(IDebugLogHandler handler);
void RemoveHandler(IDebugLogHandler handler);
}
}