Example #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
     }
 }
Example #2
0
 private TargetWithFilterChain GetTargetsForLevel(LogLevel level)
 {
     return(_configuration.GetTargetsForLevel(level));
 }