Table of Contents

Method LogActionToFile

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

LogActionToFile(Action, string?, string?)

Logs section using LogBeginSectionToFile(string?, string?), LogEndSectionToFile(string?) and calling action between these calls.

public static void LogActionToFile(Action action, string? title = null, string? filename = null)

Parameters

action Action

Action which is called inside begin/end tags of the section.

title string

Section title (optional).

filename string

Log file path. LogFilePath is used when this parameter is null.