Logging in Python with Loguru
First, make sure you've followed the frontend getting started guide.
Download the package from pypi and save it to your requirements. If you use a zip or s3 file upload to publish your function, you will want to make sure
highlight-io is part of the build.
Setup the SDK with
instrument_logging disabled, while passing the highlight logging handler to loguru.
instrument_logging=False must be passed to make sure the loguru handler does not collide with built-in
Logs are reported automatically from loguru logging methods. Visit the highlight logs portal and check that backend logs are coming in.
Visit the highlight logs portal and check that backend logs are coming in.