Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation update #223

Merged
merged 3 commits into from
May 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
end_of_line = lf

[*.{csproj,json,config,yml,props}]
indent_size = 2
Expand Down
33 changes: 33 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/sample/Sample/bin/Debug/netcoreapp2.0/Sample.dll",
"args": [],
"cwd": "${workspaceFolder}/sample/Sample",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"stopAtEntry": false,
"linux": {
"env": {
"TEMP": "/tmp"
}
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
}
]
}
42 changes: 42 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/sample/Sample/Sample.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/sample/Sample/Sample.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"${workspaceFolder}/sample/Sample/Sample.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
}
]
}
86 changes: 82 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,85 @@
# Changelog

3.2.0 (pre-release)

* #202 - added support to AuditTo.Logger
* #203 - added support for custom types in arrays and custom collections
* #218 - fixed an issue with `dotnet restore` with `rid` specified if referenced from `netstandard` project
* #219 - reduced search graph for configuration dlls to avoid native assets
* #221 - added support for conditional/leveled enrichers from Serilog 2.9+
* #222 - updated Microsoft.Extensions.DependencyModel

3.1.0

* #155 - improve SelfLog output when misconfigured
* #160 - respect dynamic logging level changes for LevelSwitch section
* #158 - update NuGet package license format to new format
* #159 - DllScanningAssemblyFinder fixes #157, #150, #122, #156
* #161 - support simple type names for Serilog types
* #151 - no longer rely on static state in ConfigurationReader
* #179 - added missing null checks for settingConfiguration
* #163 - added new ReadFrom.Configuration(...) overloads; marked old as obsolete
* #176 - added test to show how to filter child contexts

3.0.1

* #142 - Fix IConfiguration parameters not being populated
* #143 - Fix ReadFrom.ConfigurationSection() looking for sections below a root Serilog section

3.0.0

* #91 & #92 - Fix cherrypick from master
* #97 - Support of IConfiguration parameters & IConfigurationSection parameters
* #83 - Updated dependencies of Microsoft.Extensions.DependencyModel,
Microsoft.Extensions.Configuration.Abstraction & Microsoft.Extensions.Options.ConfigurationExtensions per TFM
* #98 - specify string array params
* Target Framework change to netcoreapp2.0
* Build updates including addition of Travis Build
* #105 - detect and fail on ambiguous configurations
* #110 - destructure support
* #111 - case-insensitive argument matching
* #132 - choose string overloads to resolve binding ambiguities
* #134 - specify repository URL in package
* #124 - build a .NET 4.6.1 target
* #136 - control assembly source
* #138 - remove unnecessary package ref
* #139 - remove unused class
* #140 - expand support for destructure/enrich/filter configuration

2.6.1

* #92 - fix WriteTo.Logger handling

2.6.0

* #67 - improve error reporting when trying to convert from a missing class
* #74 - support abstract classes (in addition to interfaces) as values
* #84 - (documentation update)
* #88 - LoggingLevelSwitch support

2.4.0

* #46 - configure sub-loggers through JSON settings
* #48 - permit multiple sinks of the same kind

2.3.1

* #44 - fix ReadFrom.Configuration() on AWS Lambda; VS 2017 tooling

2.3.0

* #40 - fix loading of configuration assemblies with names differing from their packages
* #36 - "Filter" support

2.2.0

* #20 - support MSBuild (non-project.json) projects

2.1.0
* #14 - MinimumLevel.Override()
* #15 - Overload selection fix

* #14 - MinimumLevel.Override()
* #15 - Overload selection fix

2.0.0
* Initial version

* Initial version
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net451' Or '$(TargetFramework)' == 'net452' Or '$(TargetFramework)' == 'net46' Or '$(TargetFramework)' == 'net461'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.$(TargetFramework)" Version="1.0.0" PrivateAssets="all" />
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>
</Project>
Loading