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
actionActionAction which is called inside begin/end tags of the section.
titlestringSection title (optional).
filenamestringLog file path. LogFilePath is used when this parameter is
null.