Server method logs

オフライン

Hello,

I have written a server method. If any error or exception came in method, I want to add it to logs. Is there any to do the same? If yes please explain how to do it.

Thank you,
Nilesh