man setlogmask () - See syslog.3posix

REFERENCE

See syslog.3posix