Gelf.NET is a port from the gelf4net project to provide the ability to publish messages to Graylog without any dependencies on other frameworks
You can install the latest stable release using the nuget package Gelf.NET
.
var publisher = new GelfPublisher(remoteHostname: "mygraylogserver.betgenius.com", remoteHostPort: 12201);
publisher.Publish(new GelfMessage());
Due to the C# UdpClient not guaranteeing thread safety, you should also assume that the GelfPublisher is not thread safe.