This commit is contained in:
ge
2026-01-03 15:10:39 +03:00
commit 0b5c70550a
8 changed files with 193 additions and 0 deletions

18
README.md Normal file
View File

@@ -0,0 +1,18 @@
# Write Messages into System Journal
`syslog` module is a thin wrapper around syslog C API. Read the
[syslog(3)](https://www.man7.org/linux/man-pages/man3/syslog.3.html)
manual page for details.
Basic usage:
```v
import syslog
mut log := syslog.open()
defer {
log.close()
}
log.send(.info, 'Hello, World!')
```