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.
9 static char sccsid[] = "@(#) fakelog.c 1.3 94/12/28 17:42:21";
20 void openlog(char *name, int logopt, int facility)
25 /* vsyslog - format one record */
27 void vsyslog(int severity, char *fmt, va_list ap)
31 vprintf(percent_m(buf, fmt), ap);
36 /* syslog - format one record */
40 void VARARGS(syslog, int, severity)
45 VASTART(ap, int, severity);
46 fmt = va_arg(ap, char *);
47 vsyslog(severity, fmt, ap);
51 /* closelog - dummy */