Skip to content

Commit 37f02f5

Browse files
authored
Merge pull request #122 from serilog/dev
4.0.1 Release
2 parents bdadace + c3231ab commit 37f02f5

File tree

4 files changed

+12
-24
lines changed

4 files changed

+12
-24
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
1-
**A few questions before you begin:**
1+
Hi 👋
22

3-
> Is this an issue related to the Serilog core project or one of the [sinks](https://github.com/serilog/serilog/wiki/Provided-Sinks) or [community projects](https://github.com/serilog/serilog/wiki/Community-Projects). This issue list is intended for Serilog core issues. If this issue relates to a sink or related project, please log on the related repository. Please use [Gitter chat](https://gitter.im/serilog/serilog) and [Stack Overflow](http://stackoverflow.com/questions/tagged/serilog) for discussions and questons.
3+
If you have a question about using Serilog, or something isn't working as you expect it to, please post your question to the [`serilog` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/serilog), where many more people are ready to help you out.
44

5+
To report a bug or request a feature, please give us as much information as possible, for example:
56

6-
**Does this issue relate to a new *feature* or an existing *bug*?**
7-
- [ ] Bug
8-
- [ ] New Feature
7+
- [ ] the exact package id and version you're using,
8+
- [ ] your `dotnet` toolchain version, target framework, and operating system,
9+
- [ ] the current behavior, and
10+
- [ ] what you expect or want to happen instead.
911

10-
**What version of Serilog Console Sink is affected by this issue? Please list the related NuGet package.**
11-
12-
**What is the target framework and operating system affected by this issue? Please see [target frameworks](https://docs.microsoft.com/en-us/nuget/schema/target-frameworks) & [net standard matrix](https://docs.microsoft.com/en-us/dotnet/standard/net-standard).**
13-
14-
- [ ] netCore 2.0
15-
- [ ] netCore 1.0
16-
- [ ] 4.7
17-
- [ ] 4.6.x
18-
- [ ] 4.5.x
19-
20-
**Please describe the current behaviour you are experiencing?**
21-
22-
**Please describe the expected behaviour if the ?**
23-
24-
**If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem**
25-
*NOTE: A small code sample goes a long way in expediting bug fixes or illustrating an enhancement you are proposing.*
12+
Thanks!

src/Serilog.Sinks.Console/Serilog.Sinks.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>A Serilog sink that writes log events to the console/terminal.</Description>
5-
<VersionPrefix>4.0.0</VersionPrefix>
5+
<VersionPrefix>4.0.1</VersionPrefix>
66
<Authors>Serilog Contributors</Authors>
77
<TargetFrameworks>net45;netstandard1.3;netstandard2.0;net5.0</TargetFrameworks>
88
<LangVersion>8.0</LangVersion>

src/Serilog.Sinks.Console/Sinks/SystemConsole/Output/ExceptionTokenRenderer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ public override void Render(LogEvent logEvent, TextWriter output)
4444
var style = nextLine.StartsWith(StackFrameLinePrefix) ? ConsoleThemeStyle.SecondaryText : ConsoleThemeStyle.Text;
4545
var _ = 0;
4646
using (_theme.Apply(output, style, ref _))
47-
output.WriteLine(nextLine);
47+
output.Write(nextLine);
48+
output.WriteLine();
4849
}
4950
}
5051
}

src/Serilog.Sinks.Console/Sinks/SystemConsole/Rendering/ThemedMessageTemplateRenderer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ int RenderPropertyToken(PropertyToken pt, IReadOnlyDictionary<string, LogEventPr
102102

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

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

0 commit comments

Comments
 (0)