Type:
Module

The syslog package provides a Ruby interface to the POSIX system logging facility.

Syslog messages are typically passed to a central logging daemon. The daemon may filter them; route them into different files (usually found under /var/log); place them in SQL databases; forward them to centralized logging servers via TCP or UDP; or even alert the system administrator via email, pager or text message.

Unlike application-level logging via Logger or Log4r, syslog is designed to allow secure tamper-proof logging.

The syslog protocol is standardized in RFC 5424.

open!

reopen(ident, options, facility) => syslog Class Public methods Closes and

2015-05-16 17:39:09
options

options() Class Public methods Returns the options bitmask used in the last

2015-05-16 17:47:55
mask=

mask=(priority_mask) Class Public methods Sets the log priority mask. A method

2015-05-16 17:26:45
open

open(ident, options, facility) => syslog Class Public methods Open the syslog

2015-05-16 17:34:13
facility

facility() Class Public methods Returns the facility number used in the last

2015-05-16 16:59:10
close

close() Class Public methods Closes the syslog facility. Raises a runtime exception

2015-05-16 16:52:07
reopen

reopen(ident, options, facility) => syslog Class Public methods Closes and

2015-05-16 17:50:33
instance

instance() Class Public methods Returns self, for backward compatibility.

2015-05-16 17:13:56
log

log(priority, format_string, *format_args) Class Public methods Log a message

2015-05-16 17:19:24
inspect

inspect() Class Public methods Returns an inspect() string summarizing the object

2015-05-16 17:06:20