We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7957626 commit 6bf16aaCopy full SHA for 6bf16aa
docs/deployments/request-handlers.md
@@ -83,20 +83,3 @@ onnxruntime==0.5.0 # In ONNX serving images only
83
```
84
85
You can install additional PyPI packages and import your own Python packages. See [Python Packages](../piplines/python-packages.md) for more details.
86
-
87
-## Debugging
88
89
-A Cortex logger can be imported and used in request handlers.
90
91
-```python
92
-from cortex.lib.log import get_logger
93
94
-logger = get_logger()
95
96
-def pre_inference(sample, metadata):
97
- logger.info(sample)
98
- logger.info(metadata)
99
- ...
100
-```
101
102
-The output of these logs can be viewed using `cortex logs <api_name>`.
0 commit comments