TraceLoggerEnabled Property

Enable or disable logging to the file.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.Tools (in ASCOM.Tools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public bool Enabled { get; set; }

Property Value

Boolean
True to enable logging

Return Value

Boolean
Boolean, current logging status (enabled/disabled).

Implements

ITraceLoggerEnabled

Remarks

If this property is False, calls to LogMessage do nothing. If True, messages are written to the log file.

Version Information

.NET Standard

Supported in: 2.0

See Also