How to use the c2cwsgiutils.sentry function in c2cwsgiutils

To help you get started, we’ve selected a few c2cwsgiutils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github camptocamp / tilecloud-chain / tilecloud_chain / __init__.py View on Github external
'class': 'logging.StreamHandler',
                        'formatter': 'default',
                        'stream': 'ext://sys.stdout'
                    },
                    'json': {
                        'class': 'c2cwsgiutils.pyramid_logging.JsonLogHandler',
                        'stream': 'ext://sys.stdout'
                    },
                },
                'formatters': {
                    'default': {
                        'format': format_
                    }
                }
            })
        sentry.init()