#include <syslog.h>
Defines | |
#define | DO_LOG(__level,...) |
Copyright (C) 2008 Nokia. All rights reserved.
#define DO_LOG | ( | __level, | |||
... | ) |
Value:
{ \ if (__level == LOG_DEBUG && !clockd_debug_mode) ; \ else { \ if (clockd_debug_mode) { \ printf(MESTR __VA_ARGS__); printf("\n"); fflush(stdout); \ } \ syslog(__level, __VA_ARGS__); \ } \ }
__level | Message level, one of the following:
| |
... | Typically printf-style formatter and parameters |