%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/salt/modules/
Upload File :
Create Path :
Current File : //usr/lib/python2.7/site-packages/salt/modules/logmod.pyc

�
���^c@@s�dZddlmZmZmZddlZeje�ZdZ	dgZ
d�Zd�Zd�Z
d	�Zd
�Zd�Zd�ZdS(
u�
On-demand logging
=================

.. versionadded:: 2017.7.0

The sole purpose of this module is logging messages in the (proxy) minion.
It comes very handy when debugging complex Jinja templates, for example:

.. code-block:: jinja

    {%- for var in range(10) %}
      {%- do salt.log.info(var) -%}
    {%- endfor %}

CLI Example:

.. code-block:: bash

    salt '*' log.error "Please don't do that, this module is not for CLI use!"
i(tabsolute_importtprint_functiontunicode_literalsNulogu*cC@stS(N(t__virtualname__(((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyt__virtual__!scC@stj|�tS(u%
    Log message at level DEBUG.
    (tlogtdebugtTrue(tmessage((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyR%s
cC@stj|�tS(u$
    Log message at level INFO.
    (RtinfoR(R((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyR	-s
cC@stj|�tS(u'
    Log message at level WARNING.
    (RtwarningR(R((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyR
5s
cC@stj|�tS(u%
    Log message at level ERROR.
    (RterrorR(R((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyR=s
cC@stj|�tS(u(
    Log message at level CRITICAL.
    (RtcriticalR(R((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyREs
cC@stj|�tS(u)
    Log message at level EXCEPTION.
    (Rt	exceptionR(R((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyR
Ms
(t__doc__t
__future__RRRtloggingt	getLoggert__name__RRt__proxyenabled__RRR	R
RRR
(((s7/usr/lib/python2.7/site-packages/salt/modules/logmod.pyt<module>s							

Zerion Mini Shell 1.0