Skip to content

Commit

Permalink
Fix spelling of event messages: 'thrw' -> 'threw' (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xfeeddeadbeef authored Nov 18, 2020
1 parent 9661a7c commit 5995fd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void EnrichmentException(Exception ex)
}
}

[Event(2, Message = "Enrichment thrw exception. Exception {0}.", Level = EventLevel.Error)]
[Event(2, Message = "Enrichment threw exception. Exception {0}.", Level = EventLevel.Error)]
public void EnrichmentException(string exception)
{
this.WriteEvent(2, exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void UnknownErrorProcessingEvent(string handlerName, string eventName, st
this.WriteEvent(1, handlerName, eventName, ex);
}

[Event(2, Message = "Current Activity is NULL the '{0}' callback. Span will not be recorded.", Level = EventLevel.Warning)]
[Event(2, Message = "Current Activity is NULL in the '{0}' callback. Span will not be recorded.", Level = EventLevel.Warning)]
public void NullActivity(string eventName)
{
this.WriteEvent(2, eventName);
Expand All @@ -70,7 +70,7 @@ public void EnrichmentException(Exception ex)
}
}

[Event(5, Message = "Enrichment thrw exception. Exception {0}.", Level = EventLevel.Error)]
[Event(5, Message = "Enrichment threw exception. Exception {0}.", Level = EventLevel.Error)]
public void EnrichmentException(string exception)
{
this.WriteEvent(5, exception);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal class InstrumentationEventSource : EventSource
{
public static InstrumentationEventSource Log = new InstrumentationEventSource();

[Event(1, Message = "Current Activity is NULL the '{0}' callback. Activity will not be recorded.", Level = EventLevel.Warning)]
[Event(1, Message = "Current Activity is NULL in the '{0}' callback. Activity will not be recorded.", Level = EventLevel.Warning)]
public void NullActivity(string eventName)
{
this.WriteEvent(1, eventName);
Expand Down

0 comments on commit 5995fd9

Please sign in to comment.