mask=(priority_mask)
Class Public methods
Sets the log priority mask. A method LOG_UPTO is defined to make it easier to set mask values. Example:
1 | Syslog.mask = Syslog:: LOG_UPTO (Syslog:: LOG_ERR ) |
Alternatively, specific priorities can be selected and added together using binary OR. Example:
1 | Syslog.mask = Syslog:: LOG_MASK (Syslog:: LOG_ERR ) | Syslog:: LOG_MASK (Syslog:: LOG_CRIT ) |
The priority mask persists through calls to open() and close().
Please login to continue.