Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Rename 'switches' to 'LogLevel'
Browse files Browse the repository at this point in the history
  • Loading branch information
rynowak committed Oct 30, 2015
1 parent 9f38745 commit 9ad37b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions samples/SampleApp/logging.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"includeScopes" : "false",
"switches": {
"IncludeScopes" : "false",
"LogLevel": {
"Default": "Verbose",
"System": "Information",
"Microsoft": "Information"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public bool IncludeScopes
get
{
bool includeScopes;
var value = _configuration["includeScopes"];
var value = _configuration["IncludeScopes"];
if (string.IsNullOrEmpty(value))
{
return false;
Expand All @@ -49,7 +49,7 @@ public IConsoleLoggerSettings Reload()

public bool TryGetSwitch(string name, out LogLevel level)
{
var switches = _configuration.GetSection("switches");
var switches = _configuration.GetSection("LogLevel");
if (switches == null)
{
level = LogLevel.None;
Expand Down

0 comments on commit 9ad37b5

Please sign in to comment.