관리-도구
편집 파일: logging.cpython-37.opt-1.pyc
B T a, � @ s. d dl mZ d dlZd dlZd dlmZ d dlmZ d dlmZm Z m Z mZ d dlm Z d dlmZ d dlmZ er�d d lmZ d d lmZ d dlmZ d dlmZ ejZejZed ddg�Zdd� ZG dd� de �Zdd� Zdd� Z dd� Z!e"d�Z#dd� Z$G dd� dej%e&�Z'e'Z(G dd � d ej%e&�Z)dS )!� )�absolute_importN)�fnmatch)�Hub)� to_string�event_from_exception�current_stacktrace�capture_internal_exceptions)�Integration)� iteritems)�MYPY)� LogRecord)�Any)�Dict)�Optionalzsentry_sdk.errorszurllib3.connectionpoolzurllib3.connectionc C s t �| � dS )a| This disables recording (both in breadcrumbs and as events) calls to a logger of a specific name. Among other uses, many of our integrations use this to prevent their actions being recorded as breadcrumbs. Exposed to users as a way to quiet spammy loggers. :param name: The name of the logger to ignore (same string you would pass to ``logging.getLogger``). N)�_IGNORED_LOGGERS�add)�name� r �P/opt/alt/python37/lib/python3.7/site-packages/sentry_sdk/integrations/logging.py� ignore_logger'