|
|
@ -23,7 +23,10 @@ static void pi_print_trace_infos(FILE* out)
|
|
|
|
enum trace_level lv = (enum trace_level)i;
|
|
|
|
enum trace_level lv = (enum trace_level)i;
|
|
|
|
name = trace_name_of(lv);
|
|
|
|
name = trace_name_of(lv);
|
|
|
|
if(name) {
|
|
|
|
if(name) {
|
|
|
|
fprintf(out, "-> level %d: \"%s\"\n", i, name);
|
|
|
|
debug_assert(AS(lv, int) < AS(_TRACE_LEVEL_NUM, int) && AS(lv, int) >= 0);
|
|
|
|
|
|
|
|
const char* desc = lv[_trace_level_descriptions];
|
|
|
|
|
|
|
|
assert(desc);
|
|
|
|
|
|
|
|
fprintf(out, "-> level %d: \"%s\" - %s\n", i, name, desc);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
enum trace_level def = _TRACE_LEVEL_DEFAULT;
|
|
|
|
enum trace_level def = _TRACE_LEVEL_DEFAULT;
|
|
|
|