Skip to content

Commit 6fac41a

Browse files
committed
Add import to docs
1 parent 5c8c6b1 commit 6fac41a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/logging.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ such as processing Ansible facts in AWX.
7878

7979
```python
8080
import logging
81+
from ansible_base.lib.logging.runtime import log_excess_runtime
8182

8283
logger = logging.getLogger('my_app.tasks.cleanup')
8384

@@ -106,6 +107,7 @@ The number of deleted fields could be added to the log message with this.
106107

107108
```python
108109
import logging
110+
from ansible_base.lib.logging.runtime import log_excess_runtime
109111

110112
logger = logging.getLogger('my_app.tasks.cleanup')
111113

0 commit comments

Comments
 (0)