rabidus-test/Assets/Plugins/QFSW/Quantum Console/Source/Scripts/Actions/RemoveLog.cs

18 lines
433 B
C#
Raw Permalink Normal View History

2023-08-22 15:41:12 +03:00
namespace QFSW.QC.Actions
{
/// <summary>
/// Removes the most recent log from the console.
/// </summary>
public class RemoveLog : ICommandAction
{
public bool IsFinished => true;
public bool StartsIdle => false;
public void Start(ActionContext context) { }
public void Finalize(ActionContext context)
{
context.Console.RemoveLogTrace();
}
}
}