Skip to content

Found issue in Error Logging #299

Answered by jamessimone
jayeshtejwani asked this question in Q&A
Discussion options

You must be logged in to vote

@jayeshtejwani the default behavior of the included logger is to only print messages to the apex debug logs. I would look at the implementation for the actual Custom Object logger if you’re interested in seeing how to save the logged inputs to a custom object. Not all logging within Apex Rollup is going to be logged in the event of an uncaught exception, but the example you’re using is with an exception outside of Apex Rollup, so … it has to be caught/handled outside of Apex Rollup. The library isn’t mean to be an end-all logging solution for the rest of your org, or for problems that occur elsewhere in your flows/Apex. For that, I would highly recommend the usage of Nebula Logger.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jamessimone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants