Method LogNameValueToFile
LogNameValueToFile(object, object?, string?)
Logs to file pair of name and value as "{name} = {value}".
public static void LogNameValueToFile(object name, object? value, string? filename = null)
Parameters
name
objectName.
value
objectValue.
filename
stringLog file path. LogFilePath is used when this parameter is
null
.