You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This level configuration can be 'notice' '>notice' '=<error' ...etc
But there is no way to write just 'info' and 'notice'
I suggest to modify the lager_util:config_to_levels/1
config_to_levels(Conf = [Lv|_]) when is_atom(Lv) ->
lists:filter(fun(E)->lists:member(E,Conf) end, levels());
Now when I want to add a new level in handlers, for example
This level configuration can be 'notice' '>notice' '=<error' ...etc
But there is no way to write just 'info' and 'notice'
I suggest to modify the lager_util:config_to_levels/1
before this code
After this modification, I can add a level configuration like this
It will only record information of type 'info' and 'notice'
The text was updated successfully, but these errors were encountered: