jirik9
Explore posts from serversBABetter Auth
•Created by jirik9 on 3/17/2025 in #help
How to log sign-in, sign-out, and errors?
So the best way to achieve this is to handle logging manually in server actions? For example, I can use:
I also tried using the after hooks in auth.ts, but it didn’t seem to work. Has anyone successfully implemented logging using these hooks?
So, Better Auth doesn’t have a built-in logging system?
6 replies