2 * Copyright (C) 1995 Olaf Kirch
3 * Modified by Jeffrey A. Uphoff, 1996, 1997, 1999.
4 * Modified by Lon Hohberger, Oct. 2000
10 * logging functionality
20 void log_background(void);
21 void log_enable(int facility);
22 int log_enabled(int facility);
23 void note(int level, char *fmt, ...);
24 void die(char *fmt, ...);
27 * Map per-application severity to system severity. What's fatal for
28 * lockd is merely an itching spot from the universe's point of view.
30 #define N_CRIT LOG_CRIT
31 #define N_FATAL LOG_ERR
32 #define N_ERROR LOG_WARNING
33 #define N_WARNING LOG_NOTICE
34 #define N_DEBUG LOG_DEBUG
39 #define dprintf if (run_mode & MODE_LOG_STDERR) note
42 #endif /* _LOCKD_LOG_H_ */