浏览代码

Support extra sink argument

pull/264/head
John R. Daily 10 年前
父节点
当前提交
f37a957a0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      test/lager_crash_backend.erl

+ 1
- 1
test/lager_crash_backend.erl 查看文件

@ -27,7 +27,7 @@
-include_lib("eunit/include/eunit.hrl").
-endif.
init([CrashBefore, CrashAfter]) ->
init([{sink, _Sink}, CrashBefore, CrashAfter]) ->
case is_tuple(CrashBefore) andalso (timer:now_diff(CrashBefore, os:timestamp()) > 0) of
true ->
%?debugFmt("crashing!~n", []),

正在加载...
取消
保存