Current section
Files
Jump to
Current section
Files
lib/gust/dag/logger.ex
defmodule Gust.DAG.Logger do
@callback set_task(term(), Integer.t()) :: nil
@callback unset() :: nil
def set_task(task_id, attempt), do: impl().set_task(task_id, attempt)
def unset(), do: impl().unset()
def impl, do: Application.get_env(:gust, :dag_logger)
end