Creates a new TraceLogger instance and initialises filename and type

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

Syntax

C#
public TraceLogger(
	string LogFileName,
	string LogFileType
)
Visual Basic
Public Sub New ( _
	LogFileName As String, _
	LogFileType As String _
)
Visual C++
public:
TraceLogger(
	String^ LogFileName, 
	String^ LogFileType
)

Parameters

LogFileName
Type: System..::..String
Fully qualified trace file name or null string to use automatic file naming (recommended)
LogFileType
Type: System..::..String
String identifying the type of log e,g, Focuser, LX200, GEMINI, MoonLite, G11

Remarks

The LogFileType is used in the file name to allow you to quickly identify which of several logs contains the information of interest.

See Also