示例#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)
 {
 }