Пример #1
0
 public LogHelper(LogHelperFactory logHelperFactory, string categoryName)
 {
     _logHelperFactory = logHelperFactory;
     CategoryName      = categoryName;
 }
Пример #2
0
 public PeriodBatchingLoggingService(int batchSizeLimit, TimeSpan period, LogHelperFactory logHelperFactory) : base(batchSizeLimit, period)
 {
     _logHelperFactory = logHelperFactory;
     _semaphore        = new SemaphoreSlim(_logHelperFactory._logHelperProviders.Count, Environment.ProcessorCount * 8);
 }
Пример #3
0
 public LogHelperGenericLogger(LogHelperFactory logHelperFactory) : base(logHelperFactory, typeof(TCategory).FullName)
 {
 }
 public LogHelperGenericLogger(LogHelperFactory logHelperFactory, string categoryName) : base(logHelperFactory, categoryName)
 {
 }