freckle / blammo

Batteries-included structured logging library
29 stars 2 forks source link

Add withLoggerEnv #45

Closed chris-martin closed 6 months ago

chris-martin commented 6 months ago

So actually, I can just use AppT. Going to back off on the instances for WithLogger.

runWithLogger appLogger DB.makePostgresPool
runAppT DB.makePostgresPool appLogger
pbrisbin commented 6 months ago
runAppT DB.makePostgresPool appLogger

:exploding_head:

chris-martin commented 6 months ago

🤯

Ain't nothing in the rulebook says loggers can't be apps.