Skip to content

Commit 9dd370c

Browse files
committed
NLog.Targets.Network nuget-package links
1 parent 00f0583 commit 9dd370c

File tree

6 files changed

+24
-4
lines changed

6 files changed

+24
-4
lines changed

src/NLog.Targets.Network/INetworkInterfaceRetriever.cs renamed to src/NLog.Targets.Network/Internal/INetworkInterfaceRetriever.cs

File renamed without changes.

src/NLog.Targets.Network/NetworkInterfaceRetriever.cs renamed to src/NLog.Targets.Network/Internal/NetworkInterfaceRetriever.cs

File renamed without changes.

src/NLog.Targets.Network/LocalIpAddressLayoutRenderer.cs renamed to src/NLog.Targets.Network/LayoutRenderers/LocalIpAddressLayoutRenderer.cs

File renamed without changes.

src/NLog.Targets.Network/NLog.Targets.Network.csproj

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,24 @@
1515
<Copyright>Copyright (c) 2004-$(CurrentYear) NLog Project - https://nlog-project.org/ </Copyright>
1616

1717
<PackageReleaseNotes>
18-
NetworkTarget Docs:
19-
https://github.com/NLog/NLog/wiki/Network-target
20-
</PackageReleaseNotes>
18+
NetworkTarget Docs:
19+
https://github.com/NLog/NLog/wiki/Network-target
20+
21+
SyslogTarget Docs:
22+
https://github.com/NLog/NLog/wiki/Syslog-target
23+
24+
Log4JXmlTarget Docs:
25+
https://github.com/NLog/NLog/wiki/Log4JXml-target
26+
27+
GelfTarget Docs:
28+
https://github.com/NLog/NLog/wiki/Gelf-target
29+
30+
SplunkTarget Docs:
31+
https://github.com/NLog/NLog/wiki/Splunk-target
32+
33+
Local IP Docs:
34+
https://github.com/NLog/NLog/wiki/Local-IP-Address-Layout-Renderer
35+
</PackageReleaseNotes>
2136
<PackageReadmeFile>README.md</PackageReadmeFile>
2237
<PackageTags>NLog;TCPIP;TCP;UDP;Network;logging;log</PackageTags>
2338
<PackageIcon>N.png</PackageIcon>

tests/NLog.Targets.ConcurrentFile.Tests/ConcurrentFileTargetTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,10 @@ public void RollingArchiveEveryMonth()
439439
return true;
440440
}
441441
}).ToList();
442-
Assert.Equal(fileTarget.OpenFileCacheSize, fileOpenList.Count);
443442

444443
LogManager.Configuration = null; // Flush and close
444+
445+
Assert.Equal(fileTarget.OpenFileCacheSize, fileOpenList.Count);
445446
}
446447
finally
447448
{

tests/NLog.UnitTests/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@
3131
// THE POSSIBILITY OF SUCH DAMAGE.
3232
//
3333

34+
using System.Diagnostics.CodeAnalysis;
3435
using Xunit.Abstractions;
3536
using Xunit.Sdk;
3637

3738
[assembly: Xunit.CollectionBehavior(DisableTestParallelization = true)]
3839

3940
[assembly: Xunit.TestFramework("NLogThrowExceptionsDefault", "NLog.UnitTests")]
4041

42+
[assembly: SuppressMessage("Performance", "CA1861:Avoid constant arrays as arguments", Justification = "Not production code.")]
43+
[assembly: SuppressMessage("Maintainability", "CA1822:Member does not access instance data and can be marked as static", Justification = "Not production code.")]
44+
4145
public class NLogThrowExceptionsDefault : XunitTestFramework
4246
{
4347
public NLogThrowExceptionsDefault(IMessageSink messageSink)

0 commit comments

Comments
 (0)