コード例 #1
0
        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();
 }