syslog module is a thin wrapper around syslog C API. Read the syslog(3) manual page for details.
syslog
Basic usage:
import syslog mut log := syslog.open() defer { log.close() } log.send(.info, 'Hello, World!')