  @doc "Starts the EventCenter registered with the module's name."
  @spec start_link() :: {:ok, pid}
  def start_link() do
+   Logger.info "Start the EventCenter server"
    GenStage.start_link(__MODULE__, :ok, name: name())
  end
  @doc """


 @doc "Sends an event and returns only after the event is dispatched."
 @spec sync_notify(any, pos_integer | :infinity) :: :ok
 @spec sync_notify(pid | atom, any, pos_integer | :infinity) :: :ok
 def sync_notify(pid \\ name(), event, timeout \\ 5000) do
   GenStage.call(pid, {:notify, event}, timeout)
 end


  """

  use GenStage
  require Logger

  @typedoc """
  Holds the internal state of the `EventCenter`.
