Skip to content

Commit e15fe99

Browse files
committed
Add example output to logging instrumentation example
1 parent f47f57d commit e15fe99

File tree

1 file changed

+5
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging

1 file changed

+5
-0
lines changed

instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
LoggingInstrumentor().instrument()
3030
3131
logging.warning('OTel test')
32+
33+
When running the above example you will see the following output:
34+
```
35+
WARNING:root:OTel test
36+
```
3237
"""
3338

3439
import logging # pylint: disable=import-self

0 commit comments

Comments
 (0)