Skip to content

SetMsgID() doesn't set the message id #32

@0xNF

Description

@0xNF

When using the SetMsgID function, the field is left blank. The function carries through the set function as normal but the switch case at builder.go:9190, checking for msgId integers is never hit. In my case, it always hits the first case, 54, and then exits. This leaves the MsgId field as the nil pointer.

I can set it manually, but the convenience method would be preferable.

From my go.mod:
github.com/leodido/go-syslog/v4 v4.2.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions