
    /Jf                     l    d dl Z da e j        e          Z G d d          Z G d d          Zd ZdS )    Nc                       e Zd Zd ZdS )BaseHistoryHandlerc                      t          d          )Nzemit())NotImplementedError)self
event_typepayloadsources       S/home/alex/cs2snipeproduction/venv/lib/python3.11/site-packages/botocore/history.pyemitzBaseHistoryHandler.emit   s    !(+++    N)__name__
__module____qualname__r    r   r   r   r      s#        , , , , ,r   r   c                   .    e Zd Zd Zd Zd Zd ZddZdS )	HistoryRecorderc                 "    d| _         g | _        d S NF)_enabled	_handlersr   s    r   __init__zHistoryRecorder.__init__   s    r   c                     d| _         d S )NTr   r   s    r   enablezHistoryRecorder.enable   s    r   c                     d| _         d S r   r   r   s    r   disablezHistoryRecorder.disable    s    r   c                 :    | j                             |           d S N)r   append)r   handlers     r   add_handlerzHistoryRecorder.add_handler#   s    g&&&&&r   BOTOCOREc                     | j         rV| j        rQ| j        D ]K}	 |                    |||           # t          $ r  t                              d|d           Y Dw xY wd S d S d S )NzException raised in %s.T)exc_info)r   r   r   	Exceptionloggerdebug)r   r   r	   r
   r"   s        r   recordzHistoryRecorder.record&   s    = 		T^ 		>  LLWf====     LL17T !     			 		 		 		 s   1'AAN)r$   )r   r   r   r   r   r   r#   r*   r   r   r   r   r      sd              ' ' '
 
 
 
 
 
r   r   c                  :    t           t                      a t           S r    )HISTORY_RECORDERr   r   r   r   get_global_history_recorderr-   3   s    *,,r   )loggingr,   	getLoggerr   r(   r   r   r-   r   r   r   <module>r0      s     		8	$	$, , , , , , , ,
       6    r   