File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed
src/Serilog.Sinks.Console Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ The console sink for Serilog.
66
77Writes to the system console. The colored console sink's boring cousin.
88
9+ To use the console sink, first install the NuGet package:
10+
11+ ``` powershell
12+ Install-Package Serilog.Sinks.Console
13+ ```
14+
915``` csharp
1016var log = new LoggerConfiguration ()
1117 .WriteTo .Console ()
Original file line number Diff line number Diff line change 11version : ' {build}'
2+ skip_tags : true
23image : Visual Studio 2015
34configuration : Release
45install :
56 - 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"
78 - ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetcli"
8- - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath'
9+ - ps : ' & .\build\installcli.ps1 -InstallDir "$env:DOTNET_INSTALL_DIR" -NoPath -Version 1.0.0-preview2-003121 '
910 - ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
1011build_script :
1112- ps : ./Build.ps1
@@ -18,4 +19,11 @@ deploy:
1819 secure : nvZ/z+pMS91b3kG4DgfES5AcmwwGoBYQxr9kp4XiJHj25SAlgdIxFx++1N0lFH2x
1920 skip_symbols : true
2021 on :
21- branch : /^(dev|master)$/
22+ branch : /^(master)$/
23+ - provider : GitHub
24+ auth_token :
25+ secure : Bo3ypKpKFxinjR9ShkNekNvkob2iklHJU+UlYyfHtcFFIAa58SV2TkEd0xWxz633
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 11{
2- "version" : " 2.0.0-rc- *" ,
2+ "version" : " 2.0.0-*" ,
33 "description" : " The console sink for Serilog." ,
44 "authors" : [
55 " Serilog Contributors"
1414 "iconUrl" : " http://serilog.net/images/serilog-sink-nuget.png"
1515 },
1616 "dependencies" : {
17- "Serilog" : " 2.0.0-rc-556 "
17+ "Serilog" : " 2.0.0"
1818 },
1919 "buildOptions" : {
2020 "keyFile" : " ../../assets/Serilog.snk"
2323 "net4.5" : {},
2424 "netstandard1.3" : {
2525 "dependencies" : {
26- "System.Console" : " 4.0.0-rc2-24027 "
26+ "System.Console" : " 4.0.0"
2727 }
2828 }
2929 }
You can’t perform that action at this time.
0 commit comments