소스 검색

macro ftw

pull/264/head
John R. Daily 10 년 전
부모
커밋
b88e95ea42
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/lager_config.erl

+ 1
- 1
src/lager_config.erl 파일 보기

@ -43,7 +43,7 @@ new() ->
%% use insert_new here so that if we're in an appup we don't mess anything up
%%
%% until lager is completely started, allow all messages to go through
ets:insert_new(?TBL, {{lager_event, loglevel}, {element(2, lager_util:config_to_mask(debug))}}),
ets:insert_new(?TBL, {{?DEFAULT_SINK, loglevel}, {element(2, lager_util:config_to_mask(debug))}}),
%% Need to be able to find the `lager_handler_watcher' for all handlers
ets:insert_new(?TBL, {{?GLOBAL, handlers}, []}),
ok.

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