Request logger middleware for Logentries https://github.com/toddmohney/logentries#README.md
|Latest on Hackage:||0.1.0.1|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
logEntriesLogger produces a chainable
which can be used in conjunction with any other
-- The Middleware is chained to Servant's Application -- Other Middlewares can be attached, as well. app :: Application app = requestLogger $ serve api server -- Configures and creates the LogEntries request logger Middleware requestLogger :: Middleware requestLogger = let token = fromJust . fromString $ "00000000-0000-0000-0000-000000000000" logentriesConfig = Config "data.logentries.com" 80 token in logEntriesLogger logentriesConfig
A Servant example can be found in the repo.