https://github.com/iolanguage/syslog
https://github.com/iolanguage/syslog
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iolanguage/syslog
- Owner: IoLanguage
- License: bsd-3-clause
- Created: 2018-03-11T12:01:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-17T09:17:05.000Z (about 8 years ago)
- Last Synced: 2026-01-03T07:14:34.661Z (6 months ago)
- Language: C
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Syslog
Provides access to a Unix system's system logger.
```Io
logger = Syslog clone do(
identity("SyslogTest")
facility(facilityMap at("LOG_USER"))
options(List append(optionsMap at("LOG_PID"), optionsMap at("LOG_CONS")))
priority(priorityMap at("LOG_INFO"))
open(facility, options)
mask(List append(maskMap at("LOG_PRIMASK")))
log(priority, "*** Merely a test ***")
close
)
```
> Note: This is partially tested. Please let me know of any problems you happen to stumble across, or if it could be better. --Jeremy Tregunna
# Installation
```
eerie install https://github.com/IoLanguage/Syslog.git
```