SkillAgentSearch skills...

Simplesyslog

Simple SYSLOG client in Go

Install / Use

/learn @NextronSystems/Simplesyslog
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

simplesyslog

Build Status

Simple SYSLOG client in Go

Installation

go get github.com/NextronSystems/simplesyslog

Example Usage


import (
    syslog "github.com/NextronSystems/simplesyslog"
)

const SyslogServer = "<hostname>:<port>"

func main() {
    client, err := syslog.NewClient(syslog.ConnectionUDP, SyslogServer)
    if err != nil {
        ...
    }
    defer client.Close()
    if err := client.Send("foo bar baz", syslog.LOG_LOCAL0|syslog.LOG_NOTICE); err != nil {
        ...
    }
}
View on GitHub
GitHub Stars22
CategoryDevelopment
Updated10mo ago
Forks13

Languages

Go

Security Score

82/100

Audited on Jun 5, 2025

No findings