Module: Syslog::Constants
- Included in:
- Syslog
- Defined in:
- syslog.c
Overview
Module holding Syslog constants. See Syslog::log and Syslog::open for constant descriptions.
Class Method Summary collapse
- .LOG_MASK ⇒ Object
-
.LOG_UPTO(priority_level) ⇒ Object
Generates a mask value for priority levels at or below the level specified.
Class Method Details
.LOG_MASK ⇒ Object
.LOG_UPTO(priority_level) ⇒ Object
Generates a mask value for priority levels at or below the level specified. See #mask=
390 391 392 393 |
# File 'syslog.c', line 390
static VALUE mSyslogConstants_LOG_UPTO(VALUE klass, VALUE pri)
{
return INT2FIX(LOG_UPTO(NUM2INT(pri)));
}
|