Skip to content

Commit

Permalink
Added sample to set Android Tag field (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petrol- authored and ghuntley committed Feb 4, 2017
1 parent a9c3030 commit 92ca3e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ When using Xamarin.Android
```csharp
Log.Logger = new LoggerConfiguration()
.WriteTo.AndroidLog()
.Enrich.WithProperty(Constants.SourceContextPropertyName, "MyCustomTag") //Sets the Tag field.
.CreateLogger();
```

Expand Down

0 comments on commit 92ca3e0

Please sign in to comment.