Not as an action directly, but you can use an "Inline Function - C# Code" action with these contents:
public class VAInline
{
public void main()
{
VA.ClearLog();
}
}
Another way would be to not have your commands generate error messages in the first place, by implementing checks (using conditions) that stop or skip execution if a given input value would cause an action to fail.