Packages
logflare_ex
0.1.1
0.2.0-dev.b339a6b8
0.2.0-dev.980340db
0.2.0-dev.5d01deca
0.2.0-dev.236c1c6b
0.2.0-dev.082a725d
0.2.0-dev.1718089325.ea5f751
0.2.0-dev.1718053351.fca7edd
0.2.0-dev.1718049151.46c51d9
0.2.0-dev.1718049098.9ad6f45
0.2.0-dev.1715303639.8521594
0.2.0-dev.1701249644.103466d
0.1.1
0.1.1-dev-5d6bc7c9
0.1.0
0.1.0-dev-a70912b8
0.1.0-dev-79b32387
Logflare Elixir SDK
Current section
Files
Jump to
Current section
Files
lib/application.ex
defmodule LogflareEx.Application do
# See https://hexdocs.pm/elixir/Application.html
# for more information on OTP Applications
@moduledoc false
use Application
@impl true
def start(_type, _args) do
children = [
# Starts a worker by calling: LogflareApiClient.Worker.start_link(arg)
# {LogflareApiClient.Worker, arg}
{Finch, name: LogflareEx.Finch}
]
# See https://hexdocs.pm/elixir/Supervisor.html
# for other strategies and supported options
opts = [strategy: :one_for_one, name: LogflareEx.Supervisor]
Supervisor.start_link(children, opts)
end
end