Baseball.LogAttribute.OnError C# (CSharp) Method

OnError() public method

public OnError ( Task task, Exception exception ) : void
task Task
exception System.Exception
return void
        public override void OnError(Task task, Exception exception)
        {
            if (Enabled) Console.WriteLine("{0} bombed! Details: {1}.", task.Name, exception);
        }