python_backend
python_backend copied to clipboard
Extend Logging to the python backend
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!")
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.