
        bool loggingEnabled = true;
        public bool LoggingEnabled
        {
            get => loggingEnabled;
            set
            {
                log.Enabled = value;
                loggingEnabled = value;
            }