2 * This module intercepts syslog() library calls and redirects their output
3 * to the standard output stream. For interactive testing.
5 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
17 openlog(name
, logopt
, facility
)
25 /* vsyslog - format one record */
28 vsyslog(severity
, fmt
, ap
)
35 vprintf(percent_m(buf
, fmt
), ap
);
40 /* syslog - format one record */
45 VARARGS(syslog
, int, severity
)
50 VASTART(ap
, int, severity
);
51 fmt
= va_arg(ap
, char *);
52 vsyslog(severity
, fmt
, ap
);
56 /* closelog - dummy */