diff --git a/lib/ex_syslogger.ex b/lib/ex_syslogger.ex index 4c1a7da..e1b237e 100644 --- a/lib/ex_syslogger.ex +++ b/lib/ex_syslogger.ex @@ -197,15 +197,6 @@ defmodule ExSyslogger do {:ok, :ok, new_state} end - @doc """ - Handles a log event. Ignores the log event if the event level is less than the min log level. - - Ignores messages where the group leader is in a different node. - """ - def handle_event({_level, gl, _event}, config) when node(gl) != node() do - {:ok, config} - end - def handle_event( {level, _gl, {Logger, msg, timestamp, metadata}}, %{log: log, config: config} = state