Writes log messages to syslog
Constructor
| Parameters: | array – Array of options; may include “application” and “facility” keys |
|---|---|
| Return type: | Syslog |
Initialize values facilities
| Return type: | void |
|---|
Initialize syslog / set application name and facility
| Return type: | void |
|---|
Set syslog facility
| Parameters: | int – Syslog facility |
|---|---|
| Return type: | Syslog |
| Throws : | ExceptionInvalidArgumentException for invalid log facility |
Set application name
| Parameters: | string – Application name |
|---|---|
| Return type: | Syslog |
Close syslog.
| Return type: | void |
|---|