Skip to content

Commit 18cf71b

Browse files
authored
Fix build break in Release (#1248)
1 parent daa1acc commit 18cf71b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Renci.SshNet/Abstractions/DiagnosticAbstraction.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ namespace Renci.SshNet.Abstractions
99
[EditorBrowsable(EditorBrowsableState.Never)]
1010
public static class DiagnosticAbstraction
1111
{
12-
#if DEBUG
1312
/// <summary>
1413
/// The <see cref="TraceSource"/> instance used by SSH.NET.
1514
/// </summary>
1615
/// <remarks>
1716
/// <para>
17+
/// Currently, the library only traces events when compiled in Debug mode.
18+
/// </para>
19+
/// <para>
1820
/// Configuration on .NET Core must be done programmatically, e.g.
1921
/// <code>
2022
/// DiagnosticAbstraction.Source.Switch = new SourceSwitch("sourceSwitch", "Verbose");
@@ -49,7 +51,6 @@ public static class DiagnosticAbstraction
4951
/// </para>
5052
/// </remarks>
5153
public static readonly TraceSource Source = new TraceSource("SshNet.Logging");
52-
#endif
5354

5455
/// <summary>
5556
/// Logs a message to <see cref="Source"/> at the <see cref="TraceEventType.Verbose"/>

0 commit comments

Comments
 (0)