Registry / logging / hashicorp-go-syslog

hashicorp-go-syslog

JSON →
library1.0.0gogounverified

Package go-syslog provides a Go interface for writing to syslog.

go get github.com/hashicorp/go-syslog
INSTALL
IMPORT
SIG · HASHICORP-GO-SYSLO
H
hashicorp-go-syslog
logginggov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gsyslog
github.com/hashicorp/go-syslog

Create a syslog logger and write a message.

package main import ( "github.com/hashicorp/go-syslog" ) func main() { logger, _ := gsyslog.NewLogger(gsyslog.LOG_INFO, "LOCAL0", "myapp") logger.Write([]byte("Hello syslog")) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
32
Resources
hashicorp-go-syslog — go get hashicorp-go-syslog · libregistry