Skip to content

Commit

Permalink
Merge pull request #14 from serilog/dev
Browse files Browse the repository at this point in the history
2.1.2 Release
  • Loading branch information
nblumhardt authored Mar 21, 2017
2 parents c4544d0 + 1a508bd commit 0d86412
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#if !DOTNET5_1

using System;
using Serilog.Core;
using Serilog.Events;
Expand Down Expand Up @@ -55,6 +53,4 @@ private static string GetEnvironmentUserName()
return !string.IsNullOrWhiteSpace(userDomainName) ? $@"{userDomainName}\{userName}" : userName;
}
}
}

#endif
}
11 changes: 5 additions & 6 deletions src/Serilog.Enrichers.Environment/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.1.1-*",
{
"version": "2.1.2-*",
"description": "Enrich Serilog log events with properties from System.Environment.",
"authors": [
"Serilog Contributors"
Expand All @@ -23,12 +23,11 @@
},
"frameworks": {
"net4.5": {
"define": ["ENV_USER_NAME"]
"buildOptions": {
"define": [ "ENV_USER_NAME" ]
}
},
"netstandard1.3": {
"dependencies": {
"System.Runtime.Extensions": "4.1.0"
}
}
}
}
4 changes: 2 additions & 2 deletions test/Serilog.Enrichers.Environment.Tests/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"keyFile": "../../assets/Serilog.snk"
},
"frameworks": {
"net4.6": { },
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
Expand All @@ -23,6 +22,7 @@
"dnxcore50",
"portable-net45+win8"
]
}
},
"net4.6": {}
}
}

0 comments on commit 0d86412

Please sign in to comment.