public PressureSensorLogger(DiagnosticsLogger diagnosticsLogger)
 {
     _diagnosticsLogger = diagnosticsLogger;
 }
 public TemperatureSensorLogger(DiagnosticsLogger diagnosticsLogger)
 {
     _diagnosticsLogger = diagnosticsLogger;
 }
        private static void InitializeSensorLoggers()
        {
            DiagnosticsLogger diagnosticsLogger = new DiagnosticsLogger();

            temperatureSensorLogger = new TemperatureSensorLogger(diagnosticsLogger);
        }