Files
XRLib/Assets/Scripts/UVC/UI/Commands/DebugLogCommand.cs

27 lines
593 B
C#
Raw Permalink Normal View History

2025-07-28 19:59:35 +09:00
#nullable enable
using UVC.Log;
2025-06-12 19:25:33 +09:00
namespace UVC.UI.Commands
{
// 간단한 디버그 로그 출력 커맨드
public class DebugLogCommand : ICommand
{
private readonly string _message;
public DebugLogCommand(string message)
{
_message = message;
}
2025-07-28 19:59:35 +09:00
public void Execute(object? parameter = null)
2025-06-12 19:25:33 +09:00
{
2025-06-16 19:30:01 +09:00
string finalMessage = _message;
if (parameter != null)
{
finalMessage += $", parameter: {parameter}";
}
ULog.Debug(finalMessage);
2025-06-12 19:25:33 +09:00
}
}
}