blammo icon indicating copy to clipboard operation
blammo copied to clipboard

Add Blammo-amazonka, possibly Blammo-rio and Blammo-yesod too

Open pbrisbin opened this issue 2 years ago • 0 comments

The integration snippets in the README show how to use Blammo in various tools. We could easily make small packages of functions to make it more convenient. Amazonka, in particular, is annoying to do and could be a simple single-function:

import qualified Amazonka
import Blammo.Logging
import Blammo.Logging.Amazonka as Amazonka

main :: IO ()
main = do
  logger <- newLoggerEnv
  env <- runLoggerLoggingT hasLogger $ Blammo.Logging.Amazonka.newEnv Amazonka.discover
  -- ...

~~We'll probably want to do #36 first, which will involve re-organizing this repository into multi-package, making it easier to introduce these.~~

pbrisbin avatar Dec 14 '23 13:12 pbrisbin