Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/e/l/eliot-0.3.0/docs/stdout.py   eliot(Download)
import time
 
from eliot import Message, Logger, addDestination
 
 
def stdout(message):
    sys.stdout.write(message + "\n")
addDestination(stdout)

src/e/l/eliot-0.3.0/eliot/logwriter.py   eliot(Download)
    from twisted.internet.selectreactor import SelectReactor as Reactor
 
from eliot import addDestination, removeDestination
 
 
        self._thread = threading.Thread(target=self._writer)
        self._thread.start()
        addDestination(self)