NLog MSMQ target - write to the Microsoft Message Queuing
$ dotnet add package NLog.MSMQNLog MSMQ Target writes log messages to the Microsoft Message Queuing (MSMQ).
See the NLog Wiki for available options and examples.
NLog will only recognize type-alias msmq when loading from NLog.config-file, if having added extension to NLog.config-file:
<extensions>
<add assembly="NLog.MSMQ"/>
</extensions>
Alternative register from code using fluent configuration API:
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.Targets.MessageQueueTarget>());