Searched refs:mask_to_levels (Results 1 – 2 of 2) sorted by relevance
/dports/devel/erlang-lager/lager-3.2.4/src/ |
H A D | lager_util.erl | 22 num_to_level/1, config_to_mask/1, config_to_levels/1, mask_to_levels/1, 74 -spec mask_to_levels(non_neg_integer()) -> [lager:log_level()]. 75 mask_to_levels(Mask) -> function 76 mask_to_levels(Mask, levels(), []). 78 mask_to_levels(_Mask, [], Acc) -> function 80 mask_to_levels(Mask, [Level|Levels], Acc) -> function 87 mask_to_levels(Mask, Levels, NewAcc). 775 ?assertEqual([], mask_to_levels(0)), 776 ?assertEqual([debug], mask_to_levels(2#10000000)), 777 ?assertEqual([debug, info], mask_to_levels(2#11000000)), [all …]
|
H A D | lager.erl | 378 case lager_util:mask_to_levels(Mask) of 437 case lager_util:mask_to_levels(Mask) of
|