improve logger
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-02-07 00:18:16 -05:00
parent c8cadd6246
commit 9c4a32896f
2 changed files with 23 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ defmodule Cannery.Application do
@moduledoc false
use Application
alias Cannery.ErrorReporter
alias Cannery.Logger
@impl true
def start(_type, _args) do
@@ -33,7 +33,7 @@ defmodule Cannery.Application do
[:oban, :job, :start],
[:oban, :job, :stop]
],
&ErrorReporter.handle_event/4,
&Logger.handle_event/4,
[]
)