internal OpenTelemetryLogger(string categoryName, OpenTelemetryLoggerProvider provider) { Guard.Null(categoryName, nameof(categoryName)); Guard.Null(provider, nameof(provider)); this.categoryName = categoryName; this.provider = provider; }
internal OpenTelemetryLogger(string categoryName, OpenTelemetryLoggerProvider provider) { this.categoryName = categoryName ?? throw new ArgumentNullException(nameof(categoryName)); this.provider = provider ?? throw new ArgumentNullException(nameof(provider)); }