Clarify docstring reference to LogHandlerContext.
This commit is contained in:
parent
47e3a9d7d4
commit
41dd3eb0db
1 changed files with 1 additions and 2 deletions
|
@ -28,11 +28,10 @@ to opt-in to the use of operatornotify so that it does not surprise them.
|
||||||
|
|
||||||
If your application already uses the logging module, consider these options:
|
If your application already uses the logging module, consider these options:
|
||||||
- add an instance of operatornotify.LogHandler to your logger,
|
- add an instance of operatornotify.LogHandler to your logger,
|
||||||
- wrap your whole main call in a LogHandlerContext, or
|
- wrap your function call in a operatornotify.LogHandlerContext, or
|
||||||
- add @operatornotify.main_decorator to your main function.
|
- add @operatornotify.main_decorator to your main function.
|
||||||
|
|
||||||
Commandline usage:
|
Commandline usage:
|
||||||
|
|
||||||
> operatornotify --subject XXX [--body XXX]
|
> operatornotify --subject XXX [--body XXX]
|
||||||
|
|
||||||
--subject:
|
--subject:
|
||||||
|
|
Loading…
Reference in a new issue