Info
Version: | 1.2.0 |
Author(s): | Andre Miceli |
Last Update: | Tuesday, December 30, 2014 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/ZMQ4Log4Net |
Install
Install-Package ZMQ4Log4Net
dotnet add package ZMQ4Log4Net
paket add ZMQ4Log4Net
ZMQ4Log4Net Download (Unzip the "nupkg" after downloading)
Sample Config:
<appender name="ZMQ4Log4Net" type="ZMQ4Log4Net.Appender, ZMQ4Log4Net">
<filter type="log4net.Filter.LevelRangeFilter">
<levelMin value="DEBUG" />
<levelMax value="INFO" />
</filter>
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value="%date [%level] %logger - %message" />
</layout>
<BindAddress>tcp://*:5563</BindAddress>
</appender>
To receive the logs, create a subscriber using the same ZMQ library and bind to the same port used in the config above.
You should be receiving logs in no time.