Did I find the right examples for you? yes no

All Samples(10)  |  Call(4)  |  Derive(0)  |  Import(6)
Generates Wishbone formatted log messages following the Syslog priority
definition.

Generated logs are stored in a local queue <self.logs>.  It is up to an
external process the consume this queue.

src/w/i/wishbone-0.4.10/wishbone/base.py   wishbone(Download)
 
from wishbone.tools import QueueFunctions
from wishbone.tools import QLogging
from wishbone.tools import Consumer
 
class BaseActor(QueueFunctions):
    def __init__(self, name):
        self.name=name
        QueueFunctions.__init__(self)
        self.logging=QLogging(name)

src/w/i/wishbone-HEAD/wishbone/base.py   wishbone(Download)
 
from wishbone.tools import QueueFunctions
from wishbone.tools import QLogging
from wishbone.tools import Consumer
 
class BaseActor(QueueFunctions):
    def __init__(self, name):
        self.name=name
        QueueFunctions.__init__(self)
        self.logging=QLogging(name)

src/w/i/wishbone-0.4.10/wishbone/router/default.py   wishbone(Download)
#
 
from wishbone.tools import QLogging
from wishbone.tools import WishboneQueue
from wishbone.tools import LoopContextSwitcher
 
        signal(2, self.__signal_handler)
        self.logging=QLogging("Router")
        self.logs=WishboneQueue()
        self.metrics=WishboneQueue()

src/w/i/wishbone-HEAD/wishbone/router/default.py   wishbone(Download)
#
 
from wishbone.tools import QLogging
from wishbone.tools import WishboneQueue
from wishbone.tools import LoopContextSwitcher
 
        signal(2, self.__signal_handler)
        self.logging=QLogging("Router")
        self.logs=WishboneQueue()
        self.metrics=WishboneQueue()

src/w/i/wishbone-HEAD/wishbone/test/testimport.py   wishbone(Download)
 
        try:
            from wishbone.tools import QLogging
        except:
            assert QLogging

src/w/i/wishbone-0.4.10/wishbone/test/testimport.py   wishbone(Download)
 
        try:
            from wishbone.tools import QLogging
        except:
            assert QLogging