Click or drag to resize

TraceLoggerEnabled Property

Enables or disables logging to the file.

Namespace:  ASCOM.Utilities
Assembly:  ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
public bool Enabled { get; set; }

Property Value

Type: Boolean
True to enable logging

Return Value

Type: Boolean
Boolean, current logging status (enabled/disabled).
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