Fix log levels notice and warn for new logging stuff

svn:r5313
This commit is contained in:
Peter Palfrader 2005-10-25 17:41:43 +00:00
parent a38aa81bf8
commit 0738c24b97

View File

@ -134,9 +134,9 @@ void _log_fn(int severity, unsigned int domain,
#define info(domain, args...) \
_log_fn(LOG_INFO, domain, __PRETTY_FUNCTION__, args)
#define notice(domain, args...) \
_log_fn(LOG_INFO, domain, __PRETTY_FUNCTION__, args)
_log_fn(LOG_NOTICE, domain, __PRETTY_FUNCTION__, args)
#define warn(domain, args...) \
_log_fn(LOG_INFO, domain, __PRETTY_FUNCTION__, args)
_log_fn(LOG_WARN, domain, __PRETTY_FUNCTION__, args)
#define err(domain, args...) \
_log_fn(LOG_ERR, domain, __PRETTY_FUNCTION__, args)
#else