defmodule ExSQL.Application do @moduledoc false use Application @impl true def start(_type, _args) do children = [ ExSQL.Registry, ExSQL.Codegen.Cache, {Registry, keys: :unique, name: ExSQL.LogRegistry}, {DynamicSupervisor, name: ExSQL.LogSupervisor, strategy: :one_for_one} ] Supervisor.start_link(children, strategy: :one_for_one, name: ExSQL.Supervisor) end end