Skip to content

Commit

Permalink
Merge pull request #151 from serilog/dev
Browse files Browse the repository at this point in the history
3.0.1 Release
  • Loading branch information
nblumhardt authored Aug 21, 2019
2 parents 71235c0 + 9406664 commit 60bcdd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ internal static LogEventProperty CreateEventIdProperty(EventId eventId)

if (eventId.Id != 0)
{
if (eventId.Id < LowEventIdValues.Length)
if (eventId.Id >= 0 && eventId.Id < LowEventIdValues.Length)
// Avoid some allocations
properties.Add(LowEventIdValues[eventId.Id]);
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Description>Low-level Serilog provider for Microsoft.Extensions.Logging</Description>
<VersionPrefix>3.0.0</VersionPrefix>
<VersionPrefix>3.0.1</VersionPrefix>
<Authors>Microsoft;Serilog Contributors</Authors>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down

0 comments on commit 60bcdd9

Please sign in to comment.