Files
wanderer/lib/wanderer_app/test/logger.ex
T
2025-07-09 01:47:24 -04:00

12 lines
420 B
Elixir

defmodule WandererApp.Test.Logger do
@moduledoc """
Behaviour for logger functions used in the application.
This allows mocking of logger calls in tests.
"""
@callback info(message :: iodata() | (-> iodata())) :: :ok
@callback error(message :: iodata() | (-> iodata())) :: :ok
@callback warning(message :: iodata() | (-> iodata())) :: :ok
@callback debug(message :: iodata() | (-> iodata())) :: :ok
end