
    .                        S r SSKr\R                  " S5      r SSKJr  \R                  \" 5       5        Sq/ SQr	\R                  " 5       4S	 jrS
 rS rS rS rS rS rS rg! \ a     " S S\R                  5      r Ndf = f)aL  
websocket - WebSocket client library for Python

Copyright (C) 2010 Hiroki Ohtani(liris)

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street, Fifth Floor,
    Boston, MA  02110-1335  USA

    N	websocket)NullHandlerc                       \ rS rSrS rSrg)r      c                     g N )selfrecords     %lib/third_party/websocket/_logging.pyemitNullHandler.emit   s        r	   N)__name__
__module____qualname____firstlineno__r   __static_attributes__r	   r   r   r   r      s    	r   r   F)enableTracedumperrorwarningdebugtraceisEnabledForErrorisEnabledForDebugc                     U q U (       a9  [        R                  U5        [        R                  [        R
                  5        gg)z`
turn on/off the traceability.

traceable: boolean value. if set True, traceability is enabled.
N)_traceEnabled_logger
addHandlersetLevelloggingDEBUG)	traceablehandlers     r   r   r   (   s1     M7#' r   c                     [         (       aF  [        R                  SU -   S-   5        [        R                  U5        [        R                  S5        g g )Nz--- z ---z-----------------------r   r   r   )titlemessages     r   r   r   5   s:    }funv-.g/0 r   c                 .    [         R                  U 5        g r   )r   r   msgs    r   r   r   <       MM#r   c                 .    [         R                  U 5        g r   )r   r   r+   s    r   r   r   @   s    OOCr   c                 .    [         R                  U 5        g r   )r   r   r+   s    r   r   r   D   r-   r   c                 F    [         (       a  [        R                  U 5        g g r   r'   r+   s    r   r   r   H   s    }c r   c                  H    [         R                  [        R                  5      $ r   )r   isEnabledForr"   ERRORr	   r   r   r   r   M       ..r   c                  H    [         R                  [        R                  5      $ r   )r   r2   r"   r#   r	   r   r   r   r   Q   r4   r   )__doc__r"   	getLoggerr   r   ImportErrorHandlerr    r   __all__StreamHandlerr   r   r   r   r   r   r   r   r	   r   r   <module>r<      s   * 


K
(#   ;= !5 &-%:%:%< 
(1
//m  goo s   A' 'BB