예제 #1
0
        internal OpenTelemetryLogger(string categoryName, OpenTelemetryLoggerProvider provider)
        {
            Guard.Null(categoryName, nameof(categoryName));
            Guard.Null(provider, nameof(provider));

            this.categoryName = categoryName;
            this.provider     = provider;
        }
예제 #3
0
 internal OpenTelemetryLogger(string categoryName, OpenTelemetryLoggerProvider provider)
 {
     this.categoryName = categoryName ?? throw new ArgumentNullException(nameof(categoryName));
     this.provider     = provider ?? throw new ArgumentNullException(nameof(provider));
 }