Method LogSectionToFile
LogSectionToFile(object?, string?, string?)
Logs section using LogBeginSectionToFile(string?, string?), LogEndSectionToFile(string?)
and logging obj between these calls.
public static void LogSectionToFile(object? obj, string? title = null, string? filename = null)
Parameters
objobjectObject to log.
titlestringSection title (optional).
filenamestringLog file path. LogFilePath is used when this parameter is
null.