python_backend icon indicating copy to clipboard operation
python_backend copied to clipboard

Extend Logging to the python backend

Open fpetrini15 opened this issue 3 years ago • 1 comments

Triton server logging functionality can now be invoked from python models. Here are a few example formats:

logger = pb_utils.Logger
logger.log("Specific Msg!", logger.INFO)
logger.log_info("Info Msg!")
logger.log_warn("Warning Msg!")
logger.log_error("Error Msg!")
logger.log_verbose("Verbose Msg!")

fpetrini15 avatar Jul 22 '22 18:07 fpetrini15

Latest changes pass all L0_backend_python tests. I am planning a new section to the README.md file of this repo so I can include it in the same ticket and we can avoid creating a new one.

fpetrini15 avatar Aug 12 '22 23:08 fpetrini15