Did I find the right examples for you? yes no

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/e/l/eliot-0.3.0/benchmarks/serialization.py   eliot(Download)
import time
 
from eliot import Logger, MessageType, Field, ActionType
 
def _ascii(s):
A = ActionType("action", [], [], [], "desc")
 
log = Logger()
 
N = 100000

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)
 
logger = Logger()

src/e/l/eliot-0.3.0/eliot/tests/test_logwriter.py   eliot(Download)
    from eliot.logwriter import ThreadedFileWriter
 
from eliot import Logger, removeDestination