I have installed Sentry for messages logging. I am new to sentry so i don’t how it works.
Does it logs only those messages which put in my files with logger ("error something") or whatever error occurs it automatically logs it
Suppose i have not written any log statement in my view. Now if i get any exception then will sentry logs it or i have to program every exception for sentry
is there any way to automatically logs all error without entering any code because i don’t know what type of exceptions can occur
Sentry auto catches all exceptions and logs them. As for logging itself (using logger), it doesn’t catch those by default. You have to set it up.
You may view how to setup logging here. Warning: it does seem difficult do to at first.
Edit: Excerpt from official docs (07/26/2018):