     cond do
       len > state.sync_threshold and state.mode == :async ->
         :sync
+
       len < state.async_threshold and state.mode == :sync ->
         :async
+
       true ->
         state.mode
     end

  end

  def handle_call({:configure, options}, state) do
    Enum.each options, fn {key, value} ->
      Application.put_env(:logger, key, value)
    end
    {:ok, :ok, compute_state(state.mode)}
  end


  end

  def translate_backend(:console), do: Logger.Backends.Console
  def translate_backend(other), do: other

  def __data__() do
    try do
