Skip to content

Commit 92ca3e0

Browse files
Petrol-ghuntley
authored andcommitted
Added sample to set Android Tag field (#8)
1 parent a9c3030 commit 92ca3e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ When using Xamarin.Android
2424
```csharp
2525
Log.Logger = new LoggerConfiguration()
2626
.WriteTo.AndroidLog()
27+
.Enrich.WithProperty(Constants.SourceContextPropertyName, "MyCustomTag") //Sets the Tag field.
2728
.CreateLogger();
2829
```
2930

0 commit comments

Comments
 (0)