public LogEntry(string formttedEvent, JsonLoggingEventData loggingEvent)
 {
     FormattedEvent = formttedEvent;
     LoggingEvent   = loggingEvent;
 }
 public LogEntry(string formttedEvent, JsonLoggingEventData loggingEvent)
 {
     FormattedEvent = formttedEvent;
     LoggingEvent = loggingEvent;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogEntry"/> class.
 /// </summary>
 /// <param name="id">The unique identifier which is a sequence number.</param>
 /// <param name="formttedEvent">The formtted event as configured in the settings.</param>
 /// <param name="loggingEvent">The logging event data.</param>
 public LogEntry(long id, string formttedEvent, JsonLoggingEventData loggingEvent)
 {
     this.Id             = id;
     this.FormattedEvent = formttedEvent;
     this.LoggingEvent   = loggingEvent;
 }