Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pbrisbin opened this issue Dec 14, 2023 · 0 comments
Open

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

pbrisbin opened this issue Dec 14, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@pbrisbin
Copy link
Member

pbrisbin commented Dec 14, 2023

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 pbrisbin added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 14, 2023
@github-project-automation github-project-automation bot moved this to 👜 To do in Open Source Dec 14, 2023
@pbrisbin pbrisbin moved this from 👜 To do to 👷 Shovel ready in Open Source Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: 👷 Shovel ready
Development

No branches or pull requests

1 participant