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

This commit is contained in:
2023-02-07 00:18:08 -05:00
parent 6e635d1b30
commit df44be2b1b
2 changed files with 23 additions and 17 deletions

View File

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