private TargetWithFilterChain GetTargetsForLevel(LogLevel level) { if (ReferenceEquals(_contextLogger, this)) { return(_configuration.GetTargetsForLevel(level)); } else { return(_contextLogger.GetTargetsForLevel(level)); // Use the LoggerConfiguration of the parent Logger } }
private TargetWithFilterChain GetTargetsForLevel(LogLevel level) { return(_configuration.GetTargetsForLevel(level)); }