Module and behaviour to log events
log(:debug | :error | :info | :warn, any()) :: :ok | {:error, any()}