/Gelf.NET

Port of the gelf4net appender into a standalone UDP Gelf Publisher

Primary LanguageC#

Gelf.NET

Gelf.NET is a port from the gelf4net project to provide the ability to publish messages to Graylog without any dependencies on other frameworks

Build status

Installation

You can install the latest stable release using the nuget package Gelf.NET.

Usage

var publisher = new GelfPublisher(remoteHostname: "mygraylogserver.betgenius.com", remoteHostPort: 12201);
publisher.Publish(new GelfMessage());

Remarks

Due to the C# UdpClient not guaranteeing thread safety, you should also assume that the GelfPublisher is not thread safe.