TraceLoggerEnabled Property

Enables or disables logging to the file.

Definition

Namespace: ASCOM.Utilities
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 7.1.3+4851.c5da65c2b
C#
public bool Enabled { get; set; }

Property Value

Boolean
True to enable logging

Return Value

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

Remarks

If this property is false then calls to LogMsg, LogStart, LogContinue and LogFinish do nothing. If True, supplied messages are written to the log file.

See Also