TensorRT 10.10.0
|
Application-implemented logging interface for the builder, refitter and runtime. More...
#include <NvInferRuntime.h>
Public Types | |
enum class | Severity : int32_t { kINTERNAL_ERROR = 0 , kERROR = 1 , kWARNING = 2 , kINFO = 3 , kVERBOSE = 4 } |
The severity corresponding to a log message. More... | |
Public Member Functions | |
virtual void | log (Severity severity, AsciiChar const *msg) noexcept=0 |
A callback implemented by the application to handle logging messages;. More... | |
ILogger ()=default | |
virtual | ~ILogger ()=default |
Application-implemented logging interface for the builder, refitter and runtime.
DO NOT REFER TO namespace v_1_0 IN CODE. ALWAYS USE nvinfer1 INSTEAD. The name v_1_0 may change in future versions of TensoRT.
The logger used to create an instance of IBuilder, IRuntime or IRefitter is used for all objects created through that interface. The logger must be valid until all objects created are released.
The Logger object implementation must be thread safe. All locking and synchronization is pushed to the interface implementation and TensorRT does not hold any synchronization primitives when calling the interface functions.
|
strong |
The severity corresponding to a log message.
|
default |
|
virtualdefault |
|
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 considerations
Copyright © 2024 NVIDIA Corporation
Privacy Policy |
Manage My Privacy |
Do Not Sell or Share My Data |
Terms of Service |
Accessibility |
Corporate Policies |
Product Security |
Contact