§
    ÎÑßjˆ  ã                   ó:   — d dl Z dgZ G d„ de j        ¦  «        ZdS )é    NÚExtraLogFormatterc                   ó   — e Zd ZdZd„ Zd„ ZdS )r   zá
    Custom log formatter which attaches all the attributes from the "extra"
    dictionary which start with an underscore to the end of the log message.

    For example:
    extra={'_id': 'user-1', '_path': '/foo/bar'}
    c                 óâ   — d„ |j                              ¦   «         D ¦   «         }|                      |¦  «        }t          j                             | |¦  «        }d                     ||¦  «        }|S )Nc                 óD   — i | ]\  }}|                      d ¦  «        ¯||“ŒS )Ú_)Ú
startswith©Ú.0ÚkÚvs      úJ/opt/saltstack/salt/lib/python3.11/site-packages/libcloud/utils/logging.pyú
<dictcomp>z,ExtraLogFormatter.format.<locals>.<dictcomp>"   s0   € Ð[Ð[Ð[¡d a¨ÈÏÊÐVYÑIZÔIZÐ[˜Q Ð[Ð[Ð[ó    z{} ({}))Ú__dict__ÚitemsÚ_dict_to_strÚloggingÚ	FormatterÚformat)ÚselfÚrecordÚcustom_attributesÚmsgs       r   r   zExtraLogFormatter.format!   sl   € Ø[Ð[¨f¬o×.CÒ.CÑ.EÔ.EÐ[Ñ[Ô[ÐØ ×-Ò-Ð.?Ñ@Ô@ÐåÔ×&Ò& t¨VÑ4Ô4ˆØ×Ò˜sÐ$5Ñ6Ô6ˆØˆ
r   c                 ól   — d„ |                      ¦   «         D ¦   «         }d                     |¦  «        }|S )Nc                 ój   — g | ]0\  }}d                       |dd…         t          |¦  «        ¦  «        ‘Œ1S )z{}={}é   N)r   Ústrr	   s      r   ú
<listcomp>z2ExtraLogFormatter._dict_to_str.<locals>.<listcomp>*   s8   € ÐOÐOÐO±D°A°q�'—.’.  1 2 2¤­¨A©¬Ñ/Ô/ÐOÐOÐOr   ú,)r   Újoin)r   Ú
dictionaryÚresults      r   r   zExtraLogFormatter._dict_to_str)   s7   € ØOÐO¸J×<LÒ<LÑ<NÔ<NÐOÑOÔOˆØ—’˜&Ñ!Ô!ˆØˆr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r   r   r      s<   € € € € € ðð ðð ð ðð ð ð ð r   )r   Ú__all__r   r   r'   r   r   ú<module>r)      sO   ðð& €€€àÐ
€ðð ð ð ð ˜Ô)ñ ô ð ð ð r   