Method LogFileName
LogFileName(string, string, LogItemKind)
Logs the specified file name (or a folder) with a prefix. When log item is double clicked, application opens a preview window for the file.
public static void LogFileName(string prefix, string fileName, LogItemKind kind = LogItemKind.Information)
Parameters
prefixstringThe prefix to include in the log message.
fileNamestringThe path to the file or folder to log and preview.
kindLogItemKindThe kind of log item. Default is Information.