ソースを参照

Lager STARTS

pull/264/head
John R. Daily 10年前
コミット
347c9c53b4
1個のファイルの変更6行の追加0行の削除
  1. +6
    -0
      src/lager_app.erl

+ 6
- 0
src/lager_app.erl ファイルの表示

@ -119,6 +119,12 @@ wrap_proplist_value(Value) ->
configure_sink(Sink, SinkDef) ->
lager_config:new_sink(Sink),
ChildId = list_to_atom(atom_to_list(Sink) ++ "_event"),
supervisor:start_child(lager_sup,
{ChildId,
{gen_event, start_link,
[{local, Sink}]},
permanent, 5000, worker, [dynamic]}),
determine_async_behavior(Sink,
wrap_proplist_value(
proplists:get_value(async_threshold, SinkDef)),

読み込み中…
キャンセル
保存