Skip to content

Commit

Permalink
Merge pull request #114 from sungam3r/patch-1
Browse files Browse the repository at this point in the history
Update ThemedMessageTemplateRenderer.cs
  • Loading branch information
nblumhardt authored Aug 3, 2021
2 parents 08e0e65 + 5045157 commit 7ecfd08
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ int RenderPropertyToken(PropertyToken pt, IReadOnlyDictionary<string, LogEventPr

int RenderAlignedPropertyTokenUnbuffered(PropertyToken pt, TextWriter output, LogEventPropertyValue propertyValue)
{
if(pt.Alignment == null) throw new ArgumentException("The PropertyToken should have a non-null Alignment.", nameof(pt));
if (pt.Alignment == null) throw new ArgumentException("The PropertyToken should have a non-null Alignment.", nameof(pt));

var valueOutput = new StringWriter();
RenderValue(NoTheme, _unthemedValueFormatter, propertyValue, valueOutput, pt.Format);
Expand Down

0 comments on commit 7ecfd08

Please sign in to comment.