diff --git a/Meade.net.Telescope/Telescope.cs b/Meade.net.Telescope/Telescope.cs index 6b62306..35f5a27 100644 --- a/Meade.net.Telescope/Telescope.cs +++ b/Meade.net.Telescope/Telescope.cs @@ -106,6 +106,7 @@ namespace ASCOM.Meade.net //todo move the TraceLogger out to a factory class. _tl = new TraceLogger("", "Meade.Generic.Telescope"); LogMessage("Telescope", "Starting initialisation"); + LogMessage("Telescope", $"Driver version: {DriverVersion}"); ReadProfile(); // Read device configuration from the ASCOM Profile store diff --git a/Meade.net.focuser/Focuser.cs b/Meade.net.focuser/Focuser.cs index 7b99b39..eb3eae2 100644 --- a/Meade.net.focuser/Focuser.cs +++ b/Meade.net.focuser/Focuser.cs @@ -74,14 +74,17 @@ namespace ASCOM.Meade.net private void Initialise() { + //todo move the TraceLogger out to a factory class. Tl = new TraceLogger("", "Meade.Generic.focusser"); - Tl.LogMessage("Focuser", "Starting initialisation"); + LogMessage("Focuser", "Starting initialisation"); + LogMessage("Focuser", $"Driver version: {DriverVersion}"); + ReadProfile(); // Read device configuration from the ASCOM Profile store IsConnected = false; // Initialise connected to false - Tl.LogMessage("Focuser", "Completed initialisation"); + LogMessage("Focuser", "Completed initialisation"); }