Skip to content
This repository was archived by the owner on Jul 6, 2020. It is now read-only.

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report Card Build License

Repository archived. No longer actively maintained.

This project is not maintained anymore. I recommend you using https://github.com/influxdata/go-syslog/blob/develop/rfc5424/builder.go instead, which has all the features this library provided plus tons of others. It is also maintained by the InfluxDB engineering team, which ensures continuity on development.

syslog-format

A syslog formatter Golang library.

Standards

This library formats syslog messages according the RFC5424 and RFC3164.

Installation

$ go get github.com/smoya/syslog-format

Test

Coverage: https://gocover.io/github.com/smoya/syslog-format

TODO

  • Port syslog pkg dial functionality and adapt it with this formatter. The syslog only supports the RFC3164.
  • Add support for multiple structured data chunks. Right now only supports one, with the name context@{pid}.
  • Add support for standard structured data SD-ID. More info here.

About

A simple Golang library for formatting syslog messages.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages