logger_backend_ecto v1.1.0 LoggerBackendEcto
Logger backend for saving log data into a Ecto Repo.
Usage
{:ok, _} = Logger.add_backend(LoggerBackendEcto) require Logger Logger.info “hello, world” Logger.remove_backend(LoggerBackendEcto)
Link to this section Summary
Link to this section Functions
Link to this function
all_logs()
Returns all logs.
Link to this function
count_logs()
Counts every log in the database.