Skip to content

Commit 5d07a94

Browse files
author
Josh DeGraw
committed
Fixed weird issue RE: xml comments not knowing how to resolve LogLevels
1 parent 4b77fe4 commit 5d07a94

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/Sentry.NLog/SentryNLogOptions.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
using NLog.Config;
66
using NLog.Targets;
77

8-
using Sentry.Extensibility;
9-
using Sentry.Infrastructure;
10-
118
namespace Sentry.NLog
129
{
1310
/// <summary>
@@ -28,12 +25,12 @@ public int ShutdownTimeoutSeconds
2825
}
2926

3027
/// <summary>
31-
/// Minimum log level for events to trigger a send to Sentry. Defaults to <see cref="LogLevel.Error" />.
28+
/// Minimum log level for events to trigger a send to Sentry. Defaults to <see cref="M:LogLevel.Error" />.
3229
/// </summary>
3330
public LogLevel MinimumEventLevel { get; set; } = LogLevel.Error;
3431

3532
/// <summary>
36-
/// Minimum log level to be included in the breadcrumb. Defaults to <see cref="LogLevel.Info" />.
33+
/// Minimum log level to be included in the breadcrumb. Defaults to <see cref="M:LogLevel.Info" />.
3734
/// </summary>
3835
public LogLevel MinimumBreadcrumbLevel { get; set; } = LogLevel.Info;
3936

src/Sentry.NLog/SentryTarget.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public string Dsn
7777
}
7878

7979
/// <summary>
80-
/// Minimum log level for events to trigger a send to Sentry. Defaults to <see cref="LogLevel.Error" />.
80+
/// Minimum log level for events to trigger a send to Sentry. Defaults to <see cref="M:LogLevel.Error" />.
8181
/// </summary>
8282
public string MinimumEventLevel
8383
{
@@ -86,7 +86,7 @@ public string MinimumEventLevel
8686
}
8787

8888
/// <summary>
89-
/// Minimum log level to be included in the breadcrumb. Defaults to <see cref="LogLevel.Info" />.
89+
/// Minimum log level to be included in the breadcrumb. Defaults to <see cref="M:LogLevel.Info" />.
9090
/// </summary>
9191
public string MinimumBreadcrumbLevel
9292
{

0 commit comments

Comments
 (0)