logger_backend_sqlite v2.0.0 LoggerBackendSqlite
Logger backend for saving log data into a Ecto Repo.
Usage
{:ok, _} = Logger.add_backend(LoggerBackendSqlite) require Logger Logger.info “hello, world” Logger.remove_backend(LoggerBackendSqlite)
Link to this section Summary
Functions
Returns all logs
Counts every log in the database
Returns a File.Stat of the database, or :memory if not backed by file
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.
Link to this function
stat()
Returns a File.Stat of the database, or :memory if not backed by file.