Explain main_log_context *args.
This commit is contained in:
parent
c744135b21
commit
a45c5908f0
1 changed files with 3 additions and 0 deletions
|
@ -178,6 +178,9 @@ def main_log_context(argv, subject, *args, **kwargs):
|
||||||
that kills your main function.
|
that kills your main function.
|
||||||
7. Results are sent at the end of runtime.
|
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
|
Returns (context, argv) where argv can go into your argparse and context
|
||||||
can wrap your main call.
|
can wrap your main call.
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue