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

Returns all logs.

Counts every log in the database.

Returns a File.Stat of the database, or :memory if not backed by file.