Table of Contents

Method LogToFile

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

LogToFile(object?, string?)

Logs message to the specified file or to default application log file.

public static void LogToFile(object? obj = null, string? filename = null)

Parameters

obj object

Object to log.

filename string

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