Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Log *msg* using tasks global logger

Emit the message (*msg*) to the *xnt.tasks* logger using either the default
log level (*INFO*) or any valid specified value of `logging` module

:param msg: Message to log
:param lvl: Log Level of message. Default `INFO`

        def log(msg="", lvl=logging.INFO):
    """Log *msg* using tasks global logger

    Emit the message (*msg*) to the *xnt.tasks* logger using either the default
    log level (*INFO*) or any valid specified value of `logging` module

    :param msg: Message to log
    :param lvl: Log Level of message. Default `INFO`
    """
    LOGGER.log(lvl, msg)
        


src/x/n/Xnt-0.6.3/xnt/__init__.py   Xnt(Download)
from xnt.tasks import rm
from xnt.tasks import create_zip
from xnt.tasks import log
from xnt.tasks import xntcall
from xnt.tasks import call