浏览代码

Log unexpected error_logger messages to lager

pull/4/head
Andrew Thompson 14 年前
父节点
当前提交
af2f2200f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/error_logger_lager_h.erl

+ 1
- 1
src/error_logger_lager_h.erl 查看文件

@ -108,7 +108,7 @@ handle_event(Event, State) ->
?LOG(info, P, ["PROGRESS REPORT ", print_silly_list(D)])
end;
_ ->
io:format("Event ~w~n", [Event])
?LOG(warning, self(), "Unexpected error_logger event ~w", [Event])
end,
{ok, State}.

正在加载...
取消
保存