관리-도구
편집 파일: __init__.cpython-37.pyc
B ��Y5 � @ s@ d dl mZ d dlZd dlZd dlZG dd� dejjj j �Z dS )� )�absolute_importNc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�Factoryc C s. t jjjj�| � || _| jjp$tj | j_d S )N) �ZConfig� components�logger�factoryr �__init__�section�level�logging�ERROR)�selfr � r �O/opt/alt/python37/lib/python3.7/site-packages/raven/contrib/zconfig/__init__.pyr s zFactory.__init__c C s | j jS )N)r r )r r r r �getLevel s zFactory.getLevelc C s\ t jjj| jj| jj| jj| jj| jj | jj | jj| jj| jj | jj| jj| jj| jjd� S )N) �dsn�site�name�release�environment� exclude_paths� include_paths�sample_rate�list_max_length�string_max_length�auto_log_stacks� processorsr )�raven�handlersr Z SentryHandlerr r r r r r r r r r r r r r )r r r r �create s zFactory.createN)�__name__� __module__�__qualname__r r r r r r r r s r )� __future__r r Z!ZConfig.components.logger.factoryr Zraven.handlers.loggingr r r r r r r r r �<module> s