I want to output the logs which I am capturing with capture_logging to a file, stdout, etc..
Proposed design
In addition to eliot.add_destinations and eliot.to_file, have eliot.testing.add_destinations and eliot.testing.to_file. capture_logging uses those destinations in addition to the validation it does.
Use case
I want to output the logs which I am capturing with
capture_logging
to a file, stdout, etc..Proposed design
In addition to
eliot.add_destinations
andeliot.to_file
, haveeliot.testing.add_destinations
andeliot.testing.to_file
.capture_logging
uses those destinations in addition to the validation it does.