File tree 1 file changed +3
-2
lines changed
src/Renci.SshNet/Abstractions
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ namespace Renci.SshNet.Abstractions
9
9
[ EditorBrowsable ( EditorBrowsableState . Never ) ]
10
10
public static class DiagnosticAbstraction
11
11
{
12
- #if DEBUG
13
12
/// <summary>
14
13
/// The <see cref="TraceSource"/> instance used by SSH.NET.
15
14
/// </summary>
16
15
/// <remarks>
17
16
/// <para>
17
+ /// Currently, the library only traces events when compiled in Debug mode.
18
+ /// </para>
19
+ /// <para>
18
20
/// Configuration on .NET Core must be done programmatically, e.g.
19
21
/// <code>
20
22
/// DiagnosticAbstraction.Source.Switch = new SourceSwitch("sourceSwitch", "Verbose");
@@ -49,7 +51,6 @@ public static class DiagnosticAbstraction
49
51
/// </para>
50
52
/// </remarks>
51
53
public static readonly TraceSource Source = new TraceSource ( "SshNet.Logging" ) ;
52
- #endif
53
54
54
55
/// <summary>
55
56
/// Logs a message to <see cref="Source"/> at the <see cref="TraceEventType.Verbose"/>
You can’t perform that action at this time.
0 commit comments