module Syslog
Defined in:
syslog.crClass Method Summary
-
.alert(message : String, facility : Facility = @@facility) : Nil
Writes an alert syslog message with an optional facility.
-
.close : Nil
Closes the descriptor being used to write to the system logger, clearing special options.
-
.critical(message : String, facility : Facility = @@facility) : Nil
Writes an critical syslog message with an optional facility.
-
.debug(message : String, facility : Facility = @@facility) : Nil
Writes an debug syslog message with an optional facility.
-
.emergency(message : String, facility : Facility = @@facility) : Nil
Writes an emergency syslog message with an optional facility.
-
.error(message : String, facility : Facility = @@facility) : Nil
Writes an error syslog message with an optional facility.
- .facility : Facility
- .facility=(facility : Facility)
-
.info(message : String, facility : Facility = @@facility) : Nil
Writes an info syslog message with an optional facility.
-
.log(priority : Priority, facility : Facility, message : String) : Nil
Writes a message with a priority and facility.
- .mask=(mask : Int) : Nil
-
.notice(message : String, facility : Facility = @@facility) : Nil
Writes an notice syslog message with an optional facility.
-
.open(prefix : String, facility : Facility = @@default_facility) : Nil
Initializes the log file for special processing.
-
.open(prefix : String, facility : Facility = @@facility, *options : Option) : Nil
Initializes the log file for special processing.
-
.warning(message : String, facility : Facility = @@facility) : Nil
Writes an warning syslog message with an optional facility.
Class Method Detail
Writes an alert syslog message with an optional facility.
Closes the descriptor being used to write to the system logger, clearing special options. The use of this method is optional.
NOTE This API may be replaced in a future version.
Writes an critical syslog message with an optional facility.
Writes an debug syslog message with an optional facility.
Writes an emergency syslog message with an optional facility.
Writes an error syslog message with an optional facility.
Writes an info syslog message with an optional facility.
Writes a message with a priority and facility.
Writes an notice syslog message with an optional facility.
Initializes the log file for special processing. The use of this method is optional.
NOTE This API may be replaced in a future version.
Initializes the log file for special processing. The use of this method is optional.
NOTE This API may be replaced in a future version.
Writes an warning syslog message with an optional facility.