postgresql-resilient-0.1.0.0: PostgreSQL single-connection pool with automatic reconnection support, built on top of postgresql-simple.
Safe HaskellSafe
LanguageHaskell2010

Database.PostgreSQL.Logger

Description

Logger effect for internal use.

Synopsis

Documentation

class Logger m where Source #

Internal logger effect used to log connection and reconnection details. - - Users are encouraged to provide an orphan instance for the logging library of preference. - If stdout is good enough, feel free to `import Database.PostgreSQL.Orphan ()`. -

Methods

logDebug :: Text -> m () Source #

logInfo :: Text -> m () Source #

logError :: Text -> m () Source #

Instances

Instances details
Logger IO Source # 
Instance details

Defined in Database.PostgreSQL.Orphan

Methods

logDebug :: Text -> IO () Source #

logInfo :: Text -> IO () Source #

logError :: Text -> IO () Source #