How to put User E-mail in the Logger file by loggingout in Symfony 5

  symfony, symfony5

I hope you can help me with this problem.
I want to put the user email in the logger file when the user logs out every time.
How can I do that? How can I pass the user information to the logout function?

thanks in advance

Source: Symfony Questions

LEAVE A COMMENT