Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PerformanceLogInterceptor"/> class.
 /// </summary>
 /// <param name="loggerFactory">The logger factory.</param>
 public PerformanceLogInterceptor(ITurkuazLoggerFactory loggerFactory)
 {
     _logger = loggerFactory.GetLogger("PerformanceLog");
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CastleLoggerFactory"/> class.
 /// </summary>
 /// <param name="turkuazLoggerFactory">The turkuaz logger factory.</param>
 public CastleLoggerFactory(ITurkuazLoggerFactory turkuazLoggerFactory)
 {
     _turkuazLoggerFactory = turkuazLoggerFactory;
 }