관리-도구
편집 파일: __init__.cpython-37.pyc
B ��Yd � @ sZ d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z G dd� dej�ZdS ) z� raven.contrib.webpy ~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2013 by the Sentry Team, see AUTHORS for more details. :license: BSD, see LICENSE for more details. � )�absolute_importN)� setup_logging)� SentryHandler)�get_data_from_requestc @ s: e Zd ZdZddd�Zdd� Zdd� Zd d � Zdd� Zd S )�SentryApplicationa� Web.py application for Sentry. >>> sentry = Sentry(client, mapping=urls, fvars=globals()) Automatically configure logging:: >>> sentry = Sentry(client, logging=True, mapping=urls, fvars=globals()) Capture an exception:: >>> try: >>> 1 / 0 >>> except ZeroDivisionError: >>> sentry.captureException() Capture a message:: >>> sentry.captureMessage('hello, world!') Fc K s4 || _ || _| jr tt| j �� tjj| f|� d S )N)�client�loggingr r �web�application�__init__)�selfr r �kwargs� r �M/opt/alt/python37/lib/python3.7/site-packages/raven/contrib/webpy/__init__.pyr ) s zSentryApplication.__init__c O s"