-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Structured logging solution (PostgreSQL back end)
--
-- PostgreSQL back end for the log library suite. Depends on
-- 'log-base'.
@package log-postgres
@version 0.7.0.2
-- | PostgreSQL logging back-end.
module Log.Backend.PostgreSQL
-- | Start an asynchronous logger thread that inserts log messages into a
-- PostgreSQL database.
--
-- Please use withPglogger instead, which is more exception-safe
-- (see the note attached to mkBulkLogger).
-- | Deprecated: Use withPgLogger instead!
pgLogger :: ConnectionSourceM IO -> IO Logger
-- | Create a pgLogger for the duration of the given action, and
-- shut it down afterwards, making sure that all buffered messages are
-- actually written to the DB.
withPgLogger :: ConnectionSourceM IO -> (Logger -> IO r) -> IO r
instance GHC.Enum.Enum Log.Backend.PostgreSQL.InvalidEncodingRecoveryAttempt