Enables or disables logging to the file.

Namespace: ASCOM.Utilities.Interfaces
Assembly: ASCOM.Utilities (in ASCOM.Utilities.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
bool Enabled { get; set; }
Visual Basic
Property Enabled As Boolean
	Get
	Set
Visual C++
property bool Enabled {
	bool get ();
	void set (bool value);
}

Field Value

True to enable logging

Return Value

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