/// <summary>
        /// Initializes a new instance of the <see cref="ServiceControl"/> class.
        /// </summary>
        internal ServiceControl()
        {
            _logger = LogManager.GetCurrentClassLogger();
            _monitoringTask = new MonitoringTask(MonitoringConfig.ReadFromAppSettings());

            _logger.Info(Const.Messages.ServiceInitialized);
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ServiceControl"/> class.
        /// </summary>
        internal ServiceControl()
        {
            _logger         = LogManager.GetCurrentClassLogger();
            _monitoringTask = new MonitoringTask(MonitoringConfig.ReadFromAppSettings());

            _logger.Info(Const.Messages.ServiceInitialized);
        }