Method LogActionToFile
LogActionToFile(Action, string?, string?)
Logs section using LogBeginSectionToFile(string?, string?), LogEndSectionToFile(string?)
and calling action
between these calls.
public static void LogActionToFile(Action action, string? title = null, string? filename = null)
Parameters
action
ActionAction which is called inside begin/end tags of the section.
title
stringSection title (optional).
filename
stringLog file path. LogFilePath is used when this parameter is
null
.