public static LoggerContext FromPerformContext(PerformContext context,
                                                       JobsLoggerOptions options)
        {
            _context = context;
            _options = options;

            return(_context?.Items[Common.LoggerContextName] as LoggerContext ?? null);
        }
Пример #2
0
 public void SetPerformContext(PerformContext context,
                               JobsLoggerOptions options)
 {
     PfContext = context;
     _options  = options;
 }
Пример #3
0
 public JobsLoggerFilter(JobsLoggerOptions options)
 {
     Options = options ?? new JobsLoggerOptions();
 }