예제 #1
0
 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
     }
 }