payroll-processor icon indicating copy to clipboard operation
payroll-processor copied to clipboard

Investigate best logging approaches for LanguageExt integration

Open seangwright opened this issue 4 years ago • 0 comments

LGTM, really exercising the logging 😄

@KyleMcMaster Ya. hahah. Those bugs a few PRs back really burned me when I couldn't tell what was failing in the Functions API.

I want to look at alternatives for logging when using LanguageExt. My C#/OO approach would be decoration via DI, but I'm not sure if that's the best 'functional' approach?

Maybe I'll create an IQueryHandler and ICommandHandler logging decorator so we can get insight on all commands and queries.

Originally posted by @seangwright in https://github.com/KyleMcMaster/payroll-processor/pull/42#issuecomment-690855742

seangwright avatar Sep 11 '20 03:09 seangwright