tRPCttRPC
Powered by
MattM
tRPC•4y ago•
3 replies
Matt

Audit logging middleware?

I’m required for regulatory reasons to log all actions that are taken in my application for auditing and if they were successful or not. Imagine - user successfully updated a resource, user viewed <x> resource. Is there a best practice to implementing such behaviour with tRPC? I was originally thinking about a middleware but it would need to know if the action was successful post request.

Thanks all.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

create middleware
Stephane MSStephane M / ❓-help
9mo ago
trpc middleware
PTIT-NeikkkPPTIT-Neikkk / ❓-help
3y ago
async middleware
BarakondaBBarakonda / ❓-help
3y ago