Editor/Wiring/Actions/LogAction.cs

A simple record type used in the editor wiring system that represents a log action. It stores a log level and a message expression to be logged.

namespace Grains.RazorDesigner.Wiring;

public sealed record LogAction : Action
{
    public LogLevel Level { get; init; } = LogLevel.Info;
    public Expression Message { get; init; }
}