TensorRT 8.2.1
|
Application-implemented logging interface for the builder, refitter and runtime. More...
#include <NvInferRuntimeCommon.h>
Public Types | |
enum class | Severity : int32_t { kINTERNAL_ERROR = 0 , kERROR = 1 , kWARNING = 2 , kINFO = 3 , kVERBOSE = 4 } |
Public Member Functions | |
virtual void | log (Severity severity, AsciiChar const *msg) noexcept=0 |
Application-implemented logging interface for the builder, refitter and runtime.
The logger used to create an instance of IBuilder, IRuntime or IRefitter is used for all objects created through that interface. The logger should be valid until all objects created are released.
|
strong |
The severity corresponding to a log message.
|
pure virtualnoexcept |
A callback implemented by the application to handle logging messages;
severity | The severity of the message. |
msg | A null-terminated log message. |
\usage