Skip to content

Commit a15dee6

Browse files
author
Josh DeGraw
committed
Specified that Tags prop of SentryNLogOptions should be set on Target
1 parent c6a5e50 commit a15dee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry.NLog/SentryNLogOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public int ShutdownTimeoutSeconds
6262
/// <summary>
6363
/// Any additional tags to apply to each logged message.
6464
/// </summary>
65-
[ArrayParameter(typeof(TargetPropertyWithContext), "tag")]
65+
[NLogConfigurationIgnoreProperty] // Configure this directly on the target in XML config.
6666
public IList<TargetPropertyWithContext> Tags { get; } = new List<TargetPropertyWithContext>();
6767

6868
[Advanced]

0 commit comments

Comments
 (0)