[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2987: Add a Deferred-support `log_call`-alike to ease logging changes

Tahoe-LAFS trac at tahoe-lafs.org
Thu Mar 7 18:04:26 UTC 2019


#2987: Add a Deferred-support `log_call`-alike to ease logging changes
---------------------+---------------------------
 Reporter:  exarkun  |          Owner:
     Type:  defect   |         Status:  new
 Priority:  normal   |      Milestone:  undecided
Component:  unknown  |        Version:  1.12.1
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 Eliot has a decorator, `log_call`, that starts an action encompassing the
 decorated function.  This is nice mostly because it avoids the extra
 indentation.  However, `log_call` doesn't know what to do with a function
 that returns a `Deferred`.

 Add a similar decorator but with support for `Deferred`.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2987>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list