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
prefix
stringThe prefix to include in the log message.
fileName
stringThe path to the file or folder to log and preview.
kind
LogItemKindThe kind of log item. Default is Information.