We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40badff commit 5af7c79Copy full SHA for 5af7c79
adapters/syslog/syslog.go
@@ -29,11 +29,14 @@ var (
29
econnResetErrStr string
30
)
31
32
+// TCPFraming represents the type of framing to use for syslog messages
33
type TCPFraming string
34
35
const (
- TraditionalTCPFraming TCPFraming = "traditional" // LF framing
36
- OctetCountedTCPFraming = "octet-counted" // https://tools.ietf.org/html/rfc6587#section-3.4.1
+ // TraditionalTCPFraming is the traditional LF framing of syslog messages on the wire
37
+ TraditionalTCPFraming TCPFraming = "traditional"
38
+ // OctetCountedTCPFraming prepends the size of each message before the message. https://tools.ietf.org/html/rfc6587#section-3.4.1
39
+ OctetCountedTCPFraming = "octet-counted"
40
41
42
func init() {
0 commit comments