Crate db_logger

Source
Expand description

A database-backed logger for use with the [log crate][log-crate-url].

Modules§

postgres
Implementation of the database abstraction using PostgreSQL.
sqlite
Implementation of the database abstraction using SQLite.

Structs§

Connection
Opaque type representing a connection to the logging database.
Handle
An opaque handler to maintain the logger’s backing task alive.

Functions§

init
Configures the global logger to use a new instance backed by the database connection db.