Explain main_log_context *args.

This commit is contained in:
voussoir 2021-05-14 09:53:19 -07:00
parent c744135b21
commit a45c5908f0
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -178,6 +178,9 @@ def main_log_context(argv, subject, *args, **kwargs):
that kills your main function.
7. Results are sent at the end of runtime.
Additional *args, **kwargs go to LogHandler init, so you can
pass notify_every_line, etc.
Returns (context, argv) where argv can go into your argparse and context
can wrap your main call.
'''