Skip to content

Commit

Permalink
Merge pull request #9 from benmcevoy/issues/8-stop-log-spam
Browse files Browse the repository at this point in the history
Remove the debug statements as the sitecoretracelistener will log duplicate entries
  • Loading branch information
geekrocket authored May 31, 2017
2 parents 55a1c88 + 2ab665a commit 68c1dcc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/DeloitteDigital.Atlas/Logging/LogScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,13 @@ private void Begin(string callerMemberName = "", string callerTypeName = "", str
var result = $"Starting {LogExtensions.GetFullTypeName(callerMemberName, callerTypeName)} {message}";

Log(result);

Debug.WriteLine(result);
}

private void End(string callerMemberName = "", string callerTypeName = "", string message = "")
{
var logMessage = $"Completed {LogExtensions.GetFullTypeName(callerMemberName, callerTypeName)} {message}";

Log(logMessage);

Debug.WriteLine(logMessage);
}

private void Log(string message)
Expand Down

0 comments on commit 68c1dcc

Please sign in to comment.