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
```
|
||
---|---|---|
.. | ||
shared | ||
alert_spec.rb | ||
close_spec.rb | ||
constants_spec.rb | ||
crit_spec.rb | ||
debug_spec.rb | ||
emerg_spec.rb | ||
err_spec.rb | ||
facility_spec.rb | ||
ident_spec.rb | ||
info_spec.rb | ||
inspect_spec.rb | ||
instance_spec.rb | ||
log_spec.rb | ||
mask_spec.rb | ||
notice_spec.rb | ||
open_spec.rb | ||
opened_spec.rb | ||
options_spec.rb | ||
reopen_spec.rb | ||
warning_spec.rb |