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

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

        def init_logging(module):
    logging.basicConfig(format = '(%(levelname)s) %(name)s: %(message)s')
    log = logging.getLogger(module)
    log.setLevel(logging.DEBUG)
    return log
        


src/t/u/Turk-0.1.1/turk/runtime/bridge.py   Turk(Download)
 
 
log = turk.init_logging('bridge')
 
server =    ('skynet.local', 5222)

src/t/u/Turk-0.1.1/turk/runtime/spawner.py   Turk(Download)
from turk import get_config
 
log = turk.init_logging('spawner')
 
class DriverSpawner(dbus.service.Object):

src/t/u/Turk-0.1.1/turk/xbeed/xbeed.py   Turk(Download)
XBEED_MODULE_OBJECT = '/XBeeModules/%X'
 
log = turk.init_logging('xbeed')
 
class XBeeDaemon(dbus.service.Object):

src/t/u/Turk-0.1.1/turk/turkctl.py   Turk(Download)
from turk.runtime.bridge import run as run_bridge
from turk.xbeed.xbeed import run as run_xbeed
from turk import get_config, init_logging
 
log = init_logging('turkctl')