mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
c6633f21a4
FreeBSD
```
$ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }'
rubyspec 78462 - - Hello
```
Linux
```
$ ruby -rsyslog -e 'Syslog.open("rubyspec", Syslog::LOG_PERROR) {|s| s.log(Syslog::LOG_ALERT, "Hello") }'
rubyspec: Hello
```
|
||
---|---|---|
.. | ||
log.rb | ||
reopen.rb |