public Log4netLog([NotNull] ILogger logger, [NotNull] Log4netLogSettings settings) : this(logger, IsTrivialLoggerName(logger.Name) ? null : new SourceContextValue(logger.Name), settings) { }
private Log4netLog([NotNull] ILogger logger, SourceContextValue sourceContext, Log4netLogSettings settings) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.sourceContext = sourceContext; this.settings = settings ?? new Log4netLogSettings(); }
public Log4netLog([NotNull] log4net.ILog log, [NotNull] Log4netLogSettings settings) : this(log.Logger, settings) { }