Ejemplo n.º 1
0
 public KinesisAppender()
 {
     LogEventFactory = new BasicLogEventFactory();
     Filters         = new KinesisAppenderFilters();
 }
 internal static void RegisterLogEventType(LogEventType eventType, ILogEventFactory factory)
 {
     _logEventFactories.Add(eventType, factory);
 }
Ejemplo n.º 3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Logger" /> class.
 /// </summary>
 /// <param name="appenderMediator">The log event manager.</param>
 /// <param name="factory">The factory.</param>
 /// <param name="topic">The topic.</param>
 public Logger(IAppenderMediator appenderMediator, ILogEventFactory factory, string topic)
 {
     _appenderMediator = appenderMediator;
     _factory          = factory;
     _topic            = topic;
 }