Return to log.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.23, 2005/07/27 13:06:04 | version 1.24, 2005/07/27 15:45:44 | ||
---|---|---|---|
|
|
||
static int cvs_slpriomap[LP_MAX + 1] = { | static int cvs_slpriomap[LP_MAX + 1] = { | ||
LOG_DEBUG, | LOG_DEBUG, | ||
LOG_NOTICE, | |||
LOG_INFO, | LOG_INFO, | ||
LOG_NOTICE, | |||
LOG_WARNING, | LOG_WARNING, | ||
LOG_ERR, | LOG_ERR, | ||
LOG_ALERT, | LOG_ALERT, | ||
|
|
||
} | } | ||
if (cvs_log_dest & LD_STD) { | if (cvs_log_dest & LD_STD) { | ||
if (level <= LP_NOTICE) | if (level < LP_NOTICE) | ||
out = stdout; | out = stdout; | ||
else | else | ||
out = stderr; | out = stderr; |