소스 검색

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)),

불러오는 중...
취소
저장