68 static char *error=
"ERROR";
69 static char *warning=
"WARNING";
70 static char *notice=
"NOTICE";
71 static char *verbose=
"VERBOSE";
72 static char *adv_verbose=
"ADVANCED VERBOSE";
73 static char *library=
"LIBRARY VERBOSE";
89 *str_level= adv_verbose;
111 fprintf(stderr,
"%s: %s\n", strl,
string);
125 return tmp == oldvar;
_Bool __sync_bool_compare_and_swap_8(int64_t *ptr, int64_t oldvar, int64_t newval)
Internal functions and macros for libtrap Verbose and debug macros from libcommlbr.
static pthread_mutex_t atomic_mutex
uint64_t __sync_and_and_fetch_8(uint64_t *ptr, uint64_t value)
uint64_t __sync_add_and_fetch_8(uint64_t *ptr, uint64_t value)
uint64_t __sync_or_and_fetch_8(uint64_t *ptr, uint64_t value)
static void get_level(int level, char **str_level)
Return syslog and output level based on given verbose level.
uint64_t __sync_fetch_and_add_8(uint64_t *ptr, uint64_t value)
void trap_verbose_msg(int level, char *string)
send verbose message to stderr