Method LogAction
LogAction(string, Action, LogItemKind)
Logs an action with a specified message and associates it with a log item.
public static void LogAction(string s, Action action, LogItemKind kind = LogItemKind.Information)
Parameters
s
stringThe message to log.
action
ActionThe action to associate with the log item.
kind
LogItemKindThe kind of log item. Default is Information.