Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 724 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 724 Bytes

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.