-
Notifications
You must be signed in to change notification settings - Fork 797
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1369 from serilog/dev
2.9.0 Release
- Loading branch information
Showing
133 changed files
with
1,352 additions
and
830 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -331,3 +331,4 @@ ASALocalRun/ | |
|
||
# MFractors (Xamarin productivity tool) working folder | ||
.mfractor/ | ||
*.orig |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<Project> | ||
<ItemGroup> | ||
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.8.1" PrivateAssets="All" /> | ||
</ItemGroup> | ||
<!-- Workaround for https://github.com/dotnet/sdk/pull/908 --> | ||
<Target Name="GetPackagingOutputs" /> | ||
<PropertyGroup> | ||
<LangVersion>latest</LangVersion> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Influences | ||
|
||
Serilog draws directly on ideas found in: | ||
|
||
* [.NET Framework](https://dot.net) — format string syntax adapted for message templates | ||
* [Apache log4net](https://logging.apache.org/log4net/) — `ILogger` interface, levels, types/namespaces as log sources | ||
* [Enterprise Library Semantic Logging Application Block](https://github.com/microsoftarchive/semantic-logging) (SLAB) — logs-as-event-streams |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
$ErrorActionPreference = "Stop" | ||
|
||
$RequiredDotnetVersion = $(cat ./global.json | convertfrom-json).sdk.version | ||
|
||
mkdir "./build" | ||
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./build/installcli.ps1" | ||
& ./build/installcli.ps1 -InstallDir "$pwd/.dotnetcli" -NoPath -Version $RequiredDotnetVersion | ||
if ($LASTEXITCODE) { exit 1 } | ||
|
||
$env:Path = "$pwd/.dotnetcli;$env:Path" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,40 @@ | ||
version: '{build}' | ||
skip_tags: true | ||
image: Visual Studio 2017 | ||
image: | ||
- Visual Studio 2019 | ||
- Ubuntu1804 | ||
configuration: Release | ||
test: off | ||
install: | ||
- ps: ./Setup.ps1 | ||
build_script: | ||
- ps: ./Build.ps1 | ||
- ps: ./BuildNativeUWP.ps1 | ||
- ps: ./Build.ps1 | ||
- ps: ./BuildNativeUWP.ps1 | ||
for: | ||
- | ||
matrix: | ||
only: | ||
- image: Ubuntu1804 | ||
install: | ||
- sh setup.sh | ||
build_script: | ||
- sh build.sh | ||
artifacts: | ||
- path: artifacts/Serilog.*.nupkg | ||
- path: artifacts/Serilog.*.snupkg | ||
deploy: | ||
- provider: NuGet | ||
api_key: | ||
secure: bd9z4P73oltOXudAjPehwp9iDKsPtC+HbgshOrSgoyQKr5xVK+bxJQngrDJkHdY8 | ||
secure: N59tiJECUYpip6tEn0xvdmDAEiP9SIzyLEFLpwiigm/8WhJvBNs13QxzT1/3/JW/ | ||
skip_symbols: true | ||
on: | ||
branch: /^(master|dev)$/ | ||
- provider: GitHub | ||
auth_token: | ||
secure: p4LpVhBKxGS5WqucHxFQ5c7C8cP74kbNB0Z8k9Oxx/PMaDQ1+ibmoexNqVU5ZlmX | ||
artifact: /Serilog.*\.nupkg/ | ||
artifacts: | ||
/Serilog.*\.nupkg/ | ||
/Serilog.*\.snupkg/ | ||
tag: v$(appveyor_build_version) | ||
on: | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
export PATH=$HOME/.dotnetcli:$PATH | ||
|
||
dotnet --info | ||
dotnet --list-sdks | ||
dotnet restore | ||
|
||
echo "🤖 Attempting to build..." | ||
for path in src/**/*.csproj; do | ||
dotnet build -f netstandard1.0 -c Release ${path} | ||
dotnet build -f netstandard1.3 -c Release ${path} | ||
dotnet build -f netstandard2.0 -c Release ${path} | ||
done | ||
|
||
echo "🤖 Running tests..." | ||
for path in test/*.Tests/*.csproj; do | ||
dotnet test -f netcoreapp2.0 -c Release ${path} | ||
dotnet test -f netcoreapp2.2 -c Release ${path} | ||
done | ||
|
||
for path in test/*.PerformanceTests/*.PerformanceTests.csproj; do | ||
dotnet build -f netcoreapp2.0 -c Release ${path} | ||
dotnet build -f netcoreapp2.2 -c Release ${path} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"sdk": { | ||
"version": "2.1.4" | ||
"version": "2.2.300" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
sudo apt-get update && sudo apt-get install -y --no-install-recommends jq | ||
|
||
RequiredDotnetVersion=$(jq -r '.sdk.version' global.json) | ||
|
||
curl https://dot.net/v1/dotnet-install.sh -sSf | bash -s -- --install-dir $HOME/.dotnetcli --no-path --version $RequiredDotnetVersion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.