sanic-sentry icon indicating copy to clipboard operation
sanic-sentry copied to clipboard

Sanic logger integration

Open ozanonurtek opened this issue 5 years ago • 0 comments

Hi guys, I appreciate your work on plugin, are there any ways to integrate sanic.log.logger with sentry logging via using this package?

What I want to achive is:

from sanic.log import logger
...
logger.exception(my_exception) # This should be sent to sentry
....

ozanonurtek avatar Nov 03 '20 16:11 ozanonurtek