Go stdlib package — log/syslog. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Dial()NeutralDial(network string, raddr string, priority Priority, tag string) (*Writer, error)
Dial establishes a connection to a log daemon by connecting to
.New()NeutralNew(priority Priority, tag string) (*Writer, error)
New establishes a new connection to the system log daemon. Each
.NewLogger()NeutralNewLogger(p Priority, logFlag int) (*log.Logger, error)
NewLogger creates a log.Logger whose output is written to the
.Writer.Alert()NeutralWriter.Alert(m string) error
Alert logs a message with severity LOG_ALERT, ignoring the severity
.Writer.Crit()NeutralWriter.Crit(m string) error
Crit logs a message with severity LOG_CRIT, ignoring the severity
.Writer.Debug()NeutralWriter.Debug(m string) error
Debug logs a message with severity LOG_DEBUG, ignoring the severity
.Writer.Emerg()NeutralWriter.Emerg(m string) error
Emerg logs a message with severity LOG_EMERG, ignoring the severity
.Writer.Err()NeutralWriter.Err(m string) error
Err logs a message with severity LOG_ERR, ignoring the severity
.Writer.Info()NeutralWriter.Info(m string) error
Info logs a message with severity LOG_INFO, ignoring the severity
| FQN | Field | |
|---|---|---|
| log/syslog | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # log/syslog