doc

package module
v0.0.0-...-2a9769d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 0 Imported by: 0

README

syslog

Usage

The primary usage the library is with the golang package. The Ruby library was only a proof of concept.

Golang
go get github.com/jtarchie/syslog

import "github.com/jtarchie/syslog/pkg/log"

// ... some code far away ...
log, offset, err := syslog.Parse(line)
if err != nil {
  println("Error", err)
}
println("Message", string(log.Message())) 

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
pkg
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL