Lines Matching refs:lvl
327 static void trc_apply_level_by_name(const char * const token, int lvl) in trc_apply_level_by_name() argument
333 trc_cfts[i].cft->log_level = lvl; in trc_apply_level_by_name()
339 trc_feats[i].feat->log_level = lvl; in trc_apply_level_by_name()
345 static void trc_apply_level_by_category(int category, int lvl) in trc_apply_level_by_category() argument
351 trc_cfts[i].cft->log_level = lvl; in trc_apply_level_by_category()
355 trc_feats[i].feat->log_level = lvl; in trc_apply_level_by_category()
362 int lvl; in trc_opt() local
372 lvl = CURL_LOG_LVL_NONE; in trc_opt()
376 lvl = CURL_LOG_LVL_INFO; in trc_opt()
380 lvl = CURL_LOG_LVL_INFO; in trc_opt()
384 trc_apply_level_by_category(TRC_CT_NONE, lvl); in trc_opt()
386 trc_apply_level_by_category(TRC_CT_PROTOCOL, lvl); in trc_opt()
388 trc_apply_level_by_category(TRC_CT_NETWORK, lvl); in trc_opt()
390 trc_apply_level_by_category(TRC_CT_PROXY, lvl); in trc_opt()
392 trc_apply_level_by_name(token, lvl); in trc_opt()