/// <summary> /// Initialize a new instance of the <see cref="LoggingSettings"/> using the given values /// </summary> /// <param name="name">The name to use for this instance</param> /// <param name="tracingEnabled">Should tracing be enabled?</param> /// <param name="loggingEnabled">Should logging be enabled?</param> /// <param name="distributionStrategy">The distribution strategy to use.</param> /// <param name="minimumPriority">The minimum value for messages to be processed.</param> /// <param name="categoryFilterMode">The category filter mode to use.</param> public LoggingSettings(string name, bool tracingEnabled, bool loggingEnabled, string distributionStrategy, int minimumPriority, CategoryFilterMode categoryFilterMode) { this.categoryFilters = categoryFilters; this.distributionStrategies = distributionStrategies; this.name = name; this.tracingEnabled = tracingEnabled; this.loggingEnabled = loggingEnabled; this.distributionStrategy = distributionStrategy; this.minimumPriority = minimumPriority; this.categoryFilterMode = categoryFilterMode; categoryFilters = new CategoryFilterDataCollection(); distributionStrategies = new DistributionStrategyDataCollection(); }