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
obj
objectObject to log.
title
stringSection title (optional).
filename
stringLog file path. LogFilePath is used when this parameter is
null
.