Skip to content

Commit 24b67c6

Browse files
authored
Merge pull request #1473 from serilog/dev
2.10.0 Release
2 parents 655778f + 33f1fd5 commit 24b67c6

File tree

85 files changed

+2034
-843
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+2034
-843
lines changed

.editorconfig

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ trim_trailing_whitespace = true
55
insert_final_newline = true
66
indent_style = space
77
indent_size = 4
8+
charset = utf-8
9+
end_of_line = lf
810

911
[*.{csproj,json,config,yml,props}]
1012
indent_size = 2

.github/ISSUE_TEMPLATE.md

-27
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Report a bug and help us to improve Serilog
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
The Serilog maintainers want you to have a great experience using Serilog, and will happily track down and resolve bugs. We all have limited time, though, so please think through all of the factors that might be involved and include as much useful information as possible 😊.
11+
12+
ℹ If the problem is caused by a sink or other extension package, please track down the correct repository for that package and create the report there: this tracker is for the core **Serilog** package only.
13+
14+
**Description**
15+
What's going wrong?
16+
17+
**Reproduction**
18+
Please provide code samples showing how you're configuring and calling Serilog to produce the behavior.
19+
20+
**Expected behavior**
21+
A concise description of what you expected to happen.
22+
23+
**Relevant package, tooling and runtime versions**
24+
What Serilog version are you using, on what platform?
25+
26+
**Additional context**
27+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an improvement to Serilog
4+
title: ''
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/usage-help.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Usage help
3+
about: Get help with using Serilog
4+
title: ''
5+
labels: invalid
6+
assignees: ''
7+
8+
---
9+
10+
Hi! 👋
11+
12+
The Serilog community wants you to have a great experience using Serilog. Unfortunately, only a handful of maintainers actively follow this repository, and our time is short, so we cannot answer usage questions posted here.
13+
14+
Fortunately, a much larger group of people (including some of us) also watch and answer questions on the [`serilog` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/serilog).
15+
16+
Please head over to Stack Overflow, ask your question, and tag it with `serilog`. Thanks! ❤

.github/PULL_REQUEST_TEMPLATE.md

-11
This file was deleted.

Build.ps1

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
echo "build: Build started"
1+
Write-Output "build: Build started"
22

33
& dotnet --info
44
& dotnet --list-sdks
55

66
Push-Location $PSScriptRoot
77

88
if(Test-Path .\artifacts) {
9-
echo "build: Cleaning .\artifacts"
10-
Remove-Item .\artifacts -Force -Recurse
9+
Write-Output "build: Cleaning .\artifacts"
10+
Remove-Item .\artifacts -Force -Recurse
1111
}
1212

1313
& dotnet restore --no-cache
1414

15-
$branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$env:APPVEYOR_REPO_BRANCH -ne $NULL];
16-
$revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$env:APPVEYOR_BUILD_NUMBER -ne $NULL];
15+
$branch = @{ $true = $env:APPVEYOR_REPO_BRANCH; $false = $(git symbolic-ref --short -q HEAD) }[$NULL -ne $env:APPVEYOR_REPO_BRANCH];
16+
$revision = @{ $true = "{0:00000}" -f [convert]::ToInt32("0" + $env:APPVEYOR_BUILD_NUMBER, 10); $false = "local" }[$NULL -ne $env:APPVEYOR_BUILD_NUMBER];
1717
$suffix = @{ $true = ""; $false = "$($branch.Substring(0, [math]::Min(10,$branch.Length)))-$revision"}[$branch -eq "master" -and $revision -ne "local"]
1818
$commitHash = $(git rev-parse --short HEAD)
1919
$buildSuffix = @{ $true = "$($suffix)-$($commitHash)"; $false = "$($branch)-$($commitHash)" }[$suffix -ne ""]
2020

21-
echo "build: Package version suffix is $suffix"
22-
echo "build: Build version suffix is $buildSuffix"
21+
Write-Output "build: Package version suffix is $suffix"
22+
Write-Output "build: Build version suffix is $buildSuffix"
2323

24-
foreach ($src in ls src/*) {
24+
foreach ($src in Get-ChildItem src/*) {
2525
Push-Location $src
2626

27-
echo "build: Packaging project in $src"
27+
Write-Output "build: Packaging project in $src"
2828

29-
& dotnet build -c Release --version-suffix=$buildSuffix
29+
& dotnet build -c Release --version-suffix=$buildSuffix /p:ContinuousIntegrationBuild=true
3030

3131
if($suffix) {
3232
& dotnet pack -c Release --no-build -o ..\..\artifacts --version-suffix=$suffix
@@ -38,21 +38,21 @@ foreach ($src in ls src/*) {
3838
Pop-Location
3939
}
4040

41-
foreach ($test in ls test/*.Tests) {
41+
foreach ($test in Get-ChildItem test/*.Tests) {
4242
Push-Location $test
4343

44-
echo "build: Testing project in $test"
44+
Write-Output "build: Testing project in $test"
4545

4646
& dotnet test -c Release
4747
if($LASTEXITCODE -ne 0) { exit 3 }
4848

4949
Pop-Location
5050
}
5151

52-
foreach ($test in ls test/*.PerformanceTests) {
52+
foreach ($test in Get-ChildItem test/*.PerformanceTests) {
5353
Push-Location $test
5454

55-
echo "build: Building performance test project in $test"
55+
Write-Output "build: Building performance test project in $test"
5656

5757
& dotnet build -c Release
5858
if($LASTEXITCODE -ne 0) { exit 2 }

0 commit comments

Comments
 (0)