1
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
2
# See LICENSE for details.
7
Message should only be printed second time around.
10
from twisted.python import log
11
from twisted.internet import reactor
17
log.msg("message %s" % i)
18
warnings.warn("warning %s" % i)
20
raise RuntimeError, "error %s" % i
25
log.startLogging(sys.stdout)
34
reactor.callLater(0.1, test, 2)
35
reactor.callLater(0.2, startlog)
38
reactor.callLater(0.3, test, 3)
39
reactor.callLater(0.4, end)