%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/orca/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/orca/__pycache__/logger.cpython-312.pyc

�

g
f���T�dZdZdZdZdZdZddlZddlZGd�d	�Ze�Z	d
�Z
y)z%Output logger for regression testing.z$Id$z
$Revision$z$Date$zCopyright (c) 2012 Igalia, S.L.�LGPL�Nc�H�eZdZd�Zd�Zejfd�Zd�Zd�Z	d�Z
y)�Loggerc��i|_y�N)�_logs��selfs �-/usr/lib/python3/dist-packages/orca/logger.py�__init__zLogger.__init__$s	����
�c�6�|jj�Sr)r�keysr	s r�getLogNameszLogger.getLogNames's���z�z��� � r
c�<�tj|�}|j|�tjt	j
��}|j
tjd��|j|�|j|j|<|S)Nz%(message)s)�logging�	getLogger�setLevel�
StreamHandler�io�StringIO�setFormatter�	Formatter�
addHandler�streamr)r
�name�level�log�handlers     r�newLogz
Logger.newLog*sp������%�����U���'�'����
�6�����W�.�.�}�=�>����w��"�>�>��
�
�4���
r
c��|jj|�}|r#|jd�|jd�yy)Nr)r�get�truncate�seek�r
rrs   r�clearLogzLogger.clearLog5s3��������%����O�O�A���K�K��N�r
c�^�|jj|�}|r|j�Sy)N�)rr"�getvaluer%s   r�
getLogContentzLogger.getLogContent;s'��������%����?�?�$�$�r
c��|jj�D]-}|jj|�}|j��/yr)rrr"�closer%s   r�shutdownzLogger.shutdownBs7���J�J�O�O�%�	�D��Z�Z�^�^�D�)�F��L�L�N�	r
N)�__name__�
__module__�__qualname__rrr�INFOr r&r*r-�r
rrr"s)���!�")���	���r
rc��tSr)�_loggerr2r
rrrIs���Nr
)�__doc__�__id__�__version__�__date__�
__copyright__�__license__rrrr4rr2r
r�<module>r;sB��.,�������1�
���	��#�#�J�(��r

Zerion Mini Shell 1.0