Table of Contents

Method DebugLogToFile

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

DebugLogToFile(object?, string?)

Same as LogToFile(object?, string?) but writes message to file only under debug environment (DEBUG conditional is defined).

[Conditional("DEBUG")]
public static void DebugLogToFile(object? obj = null, string? filename = null)

Parameters

obj object

Log message or object.

filename string

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