|
TensorRT 11.2.1
|
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 | |
| InterfaceInfo | getInterfaceInfo () const noexcept override |
| Return version information associated with this interface. Applications must not override this method. More... | |
| virtual void | log (Severity severity, AsciiChar const *msg) noexcept=0 |
| A callback implemented by the application to handle logging messages;. More... | |
| ILogger ()=default | |
| ~ILogger () override=default | |
Public Member Functions inherited from nvinfer1::IVersionedInterface | |
| virtual APILanguage | getAPILanguage () const noexcept |
| The language used to build the implementation of this Interface. More... | |
| virtual | ~IVersionedInterface () noexcept=default |
Additional Inherited Members | |
Protected Member Functions inherited from nvinfer1::IVersionedInterface | |
| IVersionedInterface ()=default | |
| IVersionedInterface (IVersionedInterface const &)=default | |
| IVersionedInterface (IVersionedInterface &&)=default | |
| IVersionedInterface & | operator= (IVersionedInterface const &) &=default |
| IVersionedInterface & | operator= (IVersionedInterface &&) &=default |
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 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 |
|
overridedefault |
|
inlineoverridevirtualnoexcept |
Return version information associated with this interface. Applications must not override this method.
Implements nvinfer1::IVersionedInterface.
|
pure virtualnoexcept |
A callback implemented by the application to handle logging messages;.
| severity | The severity of the message. |
| msg | A null-terminated log message. |
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