+
    ^\i4              
          R t ^ RIt^ RIt^ RIHtHtHtHtHtHtH	t	H
t
 ^ RIHt ^RIHt R]P                  R]P                  R]P                  R]P
                  R	]P                  /t]P                  tR
 R ltR R ltR tR R ltR R ltR!R R lltR R ltR R ltR tR tR tR tR R ltR R  lt]! 4        ]P>                  '       d
   ]! 4        R# R# )"zLogging utilities.N)CRITICALDEBUGERRORFATALINFONOTSETWARNWARNING)Optional)	constantsdebuginfowarningerrorcriticalc                $    V ^8  d   QhR\         /#    return)str)formats   "u/Users/agent/.cache/uv/archive-v0/6ZL4-8mCcRNgGE9wi6M6J/lib/python3.14/site-packages/huggingface_hub/utils/logging.py__annotate__r   -   s     " "3 "    c                  :    \         P                  R 4      ^ ,          # ).)__name__split r   r   _get_library_namer   -   s    >>#q!!r   c                8    V ^8  d   QhR\         P                  /# r   )loggingLogger)r   s   "r   r   r   1   s     2 2'.. 2r   c                  >    \         P                  ! \        4       4      # N)r!   	getLoggerr   r   r   r   _get_library_root_loggerr&   1   s    .011r   c            	        \         P                  ! RR4      p V '       dd   V \        9   d   \        V ,          # \        P                  ! 4       P                  RV  RRP                  \        P                  4       4       24       \        # )z
If `HF_HUB_VERBOSITY` env var is set to one of the valid choices return that as the new default level. If it is not
- fall back to `_default_log_level`
HF_HUB_VERBOSITYNz Unknown option HF_HUB_VERBOSITY=z, has to be one of: z, )	osgetenv
log_levelsr!   r%   r   joinkeys_default_log_level)env_level_strs    r   _get_default_logging_levelr0   5   sr    
 II0$7MJ&m,,''2=/AUVZV_V_`j`o`o`qVrUst r   c                    V ^8  d   QhRR/# r   r   Nr   )r   s   "r   r   r   E   s     ? ? ?r   c                      \        4       p V P                  \        P                  ! 4       4       V P	                  \        4       4       R # r$   )r&   
addHandlerr!   StreamHandlersetLevelr0   library_root_loggers    r   _configure_library_root_loggerr9   E   s4    24""7#8#8#:;  !;!=>r   c                    V ^8  d   QhRR/# r2   r   )r   s   "r   r   r   K   s     1 1D 1r   c                  X    \        4       p V P                  \        P                  4       R # r$   )r&   r6   r!   r   r7   s    r   _reset_library_root_loggerr<   K   s    24  0r   c                Z    V ^8  d   QhR\         \        ,          R\        P                  /# )r   namer   )r
   r   r!   r"   )r   s   "r   r   r   P   s"     # #Xc] #gnn #r   c                J    V f   \        4       p \        P                  ! V 4      # )as  
    Returns a logger with the specified name. This function is not supposed
    to be directly accessed by library users.

    Args:
        name (`str`, *optional*):
            The name of the logger to get, usually the filename

    Example:

```python
>>> from huggingface_hub import get_logger

>>> logger = get_logger(__file__)
>>> logger.set_verbosity_info()
```
)r   r!   r%   )r>   s   &r   
get_loggerr@   P   s"    & | "T""r   c                $    V ^8  d   QhR\         /# r   int)r   s   "r   r   r   i   s     : :s :r   c                 2    \        4       P                  4       # )a  Return the current level for the HuggingFace Hub's root logger.

Returns:
    Logging level, e.g., `huggingface_hub.logging.DEBUG` and
    `huggingface_hub.logging.INFO`.

> [!TIP]
> HuggingFace Hub has following logging levels:
>
> - `huggingface_hub.logging.CRITICAL`, `huggingface_hub.logging.FATAL`
> - `huggingface_hub.logging.ERROR`
> - `huggingface_hub.logging.WARNING`, `huggingface_hub.logging.WARN`
> - `huggingface_hub.logging.INFO`
> - `huggingface_hub.logging.DEBUG`
)r&   getEffectiveLevelr   r   r   get_verbosityrF   i   s      $%7799r   c                (    V ^8  d   QhR\         RR/# )r   	verbosityr   NrB   )r   s   "r   r   r   |   s     	3 	3S 	3T 	3r   c                8    \        4       P                  V 4       R# )z
Sets the level for the HuggingFace Hub's root logger.

Args:
    verbosity (`int`):
        Logging level, e.g., `huggingface_hub.logging.DEBUG` and
        `huggingface_hub.logging.INFO`.
N)r&   r6   )rH   s   &r   set_verbosityrJ   |   s     ''	2r   c                      \        \        4      # )z'
Sets the verbosity to `logging.INFO`.
)rJ   r   r   r   r   set_verbosity_inforL      s     r   c                      \        \        4      # )z*
Sets the verbosity to `logging.WARNING`.
)rJ   r	   r   r   r   set_verbosity_warningrN      s     !!r   c                      \        \        4      # )z(
Sets the verbosity to `logging.DEBUG`.
)rJ   r   r   r   r   set_verbosity_debugrP           r   c                      \        \        4      # )z(
Sets the verbosity to `logging.ERROR`.
)rJ   r   r   r   r   set_verbosity_errorrS      rQ   r   c                    V ^8  d   QhRR/# r2   r   )r   s   "r   r   r      s     1 1T 1r   c                 $    R\        4       n        R# )zc
Disable propagation of the library log outputs. Note that log propagation is
disabled by default.
FNr&   	propagater   r   r   disable_propagationrX      s    
 ,1(r   c                    V ^8  d   QhRR/# r2   r   )r   s   "r   r   r      s     0 0D 0r   c                 $    R\        4       n        R# )z
Enable propagation of the library log outputs. Please disable the
HuggingFace Hub's default handler to prevent double logging if the root
logger has been configured.
TNrV   r   r   r   enable_propagationr[      s     ,0(r   r$   ) __doc__r!   r)   r   r   r   r   r   r   r   r	   typingr
    r   r+   r.   r   r&   r0   r9   r<   r@   rF   rJ   rL   rN   rP   rS   rX   r[   HF_DEBUGr   r   r   <module>r`      s      		 	 	   W]]
GLLwW]]  
 __ "2 ?1
#2:&	3"  10    r   