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