Explorar el Código

Wrap an obscenely long line

pull/4/head
Andrew Thompson hace 13 años
padre
commit
11366b355c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/lager_console_backend.erl

+ 2
- 1
src/lager_console_backend.erl Ver fichero

@ -41,7 +41,8 @@ handle_call(_Request, State) ->
{ok, ok, State}.
%% @private
handle_event({log, Level, {Date, Time}, [LevelStr, Location, Message]}, #state{level=LogLevel, verbose=Verbose} = State) when Level =< LogLevel ->
handle_event({log, Level, {Date, Time}, [LevelStr, Location, Message]},
#state{level=LogLevel, verbose=Verbose} = State) when Level =< LogLevel ->
case Verbose of
true ->
io:put_chars([Date, " ", Time, " ", LevelStr, Location, Message, "\n"]);

Cargando…
Cancelar
Guardar