Skip to content
Browse files

Change lager:dispatch_log/8 to async style

One extra test fails due to asyncing of the fun.
  • Loading branch information...
1 parent bf1efd0 commit de380c88aec0322a3f12c2b5185c1e4eb75db73c @aleksandr-vin committed Nov 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lager.erl
View
2 src/lager.erl
@@ -74,7 +74,7 @@ dispatch_log(Severity, Metadata, Format, Args, Size) when is_atom(Severity)->
A when is_list(A) ->safe_format_chop(Format,Args,Size);
_ -> Format
end,
- gen_event:sync_notify(Pid, {log, lager_msg:new(Msg, Timestamp,
+ gen_event:notify(Pid, {log, lager_msg:new(Msg, Timestamp,
Severity, Metadata, Destinations)});
_ ->
ok

0 comments on commit de380c8

Please sign in to comment.
Something went wrong with that request. Please try again.