Sfoglia il codice sorgente

Fix #49, badmatch in trace_file/3

pull/51/head
Andrew Thompson 13 anni fa
parent
commit
f4ebe1fc96
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/lager.erl

+ 1
- 1
src/lager.erl Vedi File

@ -134,7 +134,7 @@ trace_file(File, Filter, Level) ->
ok
end,
case Res of
{ok, _} ->
ok ->
%% install the trace.
{MinLevel, Traces} = lager_mochiglobal:get(loglevel),
case lists:member(Trace, Traces) of

Caricamento…
Annulla
Salva