Table of Contents

Method LogToFileAndDebug

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

LogToFileAndDebug(object?)

Logs the specified object to a file and writes its string representation to the debug output.

public static void LogToFileAndDebug(object? obj = null)

Parameters

obj object

The object to log. If null, an empty string is logged and written to the debug output.

Remarks

This method combines file logging and debug output for the provided object. The object's string representation is used for both operations.