Skip to content

Commit

Permalink
Merge pull request #4 from JSkimming/set-minimum-log-level
Browse files Browse the repository at this point in the history
Use verbose level to ensure all logs are written to the trace writer
  • Loading branch information
JSkimming committed Nov 26, 2017
2 parents 0591390 + 6615703 commit d266fda
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ private Task<IValueProvider> BindAsync(Guid functionInstanceId, TraceWriter trac
throw new ArgumentNullException(nameof(trace));

var configuration = new LoggerConfiguration()
.MinimumLevel.Verbose()
.Enrich.WithProperty("FunctionInstanceId", functionInstanceId)
.WriteTo.TraceWriter(trace);

Expand Down

0 comments on commit d266fda

Please sign in to comment.