File tree 6 files changed +339
-8
lines changed
src/Serilog.Enrichers.Environment
test/Serilog.Enrichers.Environment.Tests
6 files changed +339
-8
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ The environment enricher for Serilog.
4
4
5
5
[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/yfbvbdxd5vwh6955?svg=true )] ( https://ci.appveyor.com/project/serilog/serilog-enrichers-environment ) [ ![ NuGet Version] ( http://img.shields.io/nuget/v/Serilog.Enrichers.Environment.svg?style=flat )] ( https://www.nuget.org/packages/Serilog.Enrichers.Environment/ )
6
6
7
+
8
+ To use the enricher, first install the NuGet package:
9
+
10
+ ``` powershell
11
+ Install-Package Serilog.Enrichers.Environment
12
+ ```
13
+
7
14
* [ Documentation] ( https://github.com/serilog/serilog/wiki )
8
15
9
16
Copyright © ; 2016 Serilog Contributors - Provided under the [ Apache License, Version 2.0] ( http://apache.org/licenses/LICENSE-2.0.html ) .
Original file line number Diff line number Diff line change 1
1
version : ' {build}'
2
+ skip_tags : true
2
3
image : Visual Studio 2015
3
4
configuration : Release
4
5
install :
5
6
- ps : mkdir -Force ".\build\" | Out-Null
6
- - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7
+ - ps : Invoke-WebRequest "https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2 /scripts/obtain/dotnet-install.ps1" -OutFile ".\build\installcli.ps1"
7
8
- ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
8
- - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-002823 '
9
+ - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121 '
9
10
- ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
10
11
build_script :
11
12
- ps : ./Build.ps1
@@ -18,5 +19,11 @@ deploy:
18
19
secure : nvZ/z+pMS91b3kG4DgfES5AcmwwGoBYQxr9kp4XiJHj25SAlgdIxFx++1N0lFH2x
19
20
skip_symbols : true
20
21
on :
21
- branch : /^(dev|master)$/
22
-
22
+ branch : /^(master)$/
23
+ - provider : GitHub
24
+ auth_token :
25
+ secure : ggZTqqV1z0xecDoQbeoy3A7xikShCt9FWZIGp95dG9Fo0p5RAT9oGU0ZekHfUIwk
26
+ artifact : /Serilog.*\.nupkg/
27
+ tag : v$(appveyor_build_version)
28
+ on :
29
+ branch : master
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ dotnet restore
3
+ for path in src/* /project.json; do
4
+ dirname=" $( dirname " ${path} " ) "
5
+ dotnet build ${dirname} -c Release
6
+ done
7
+
8
+ dotnet restore
9
+ for path in test/* /project.json; do
10
+ dirname=" $( dirname " ${path} " ) "
11
+ dotnet build ${dirname} -c Release
12
+ done
Original file line number Diff line number Diff line change 1
1
{
2
- "version" : " 2.0.0-rc-* " ,
2
+ "version" : " 2.0.0" ,
3
3
"description" : " Enrich Serilog log events with properties from System.Environment." ,
4
4
"authors" : [
5
5
" Serilog Contributors"
15
15
"iconUrl" : " http://serilog.net/images/serilog-enricher-nuget.png"
16
16
},
17
17
"dependencies" : {
18
- "Serilog" : " 2.0.0-rc-556 "
18
+ "Serilog" : " 2.0.0"
19
19
},
20
20
"buildOptions" : {
21
21
"keyFile" : " ../../assets/Serilog.snk"
27
27
},
28
28
"netstandard1.5" : {
29
29
"dependencies" : {
30
- "System.Runtime.Extensions" : " 4.1.0-rc2-24027 "
30
+ "System.Runtime.Extensions" : " 4.1.0"
31
31
}
32
32
}
33
33
}
You can’t perform that action at this time.
0 commit comments