syslog priority, mask, format, args
priority
mask
format
args
If priority and mask permit, logs message formed as if by sprintf(format, args), with the addition that %m is replaced with the current error message from $!.
sprintf(
%m
$!