A virtual base class to find a logger. Allows a plugin to find an instance of a logger if it needs to emit a log message. A pointer to an instance of this class is passed to a plugin shared library on initialization when that plugin is serialized as part of a version-compatible plan. See the plugin chapter in the developer guide for details.
More...
#include <NvInferRuntime.h>
|
virtual ILogger * | findLogger ()=0 |
| Get the logger used by the engine or execution context which called the plugin method. More...
|
|
A virtual base class to find a logger. Allows a plugin to find an instance of a logger if it needs to emit a log message. A pointer to an instance of this class is passed to a plugin shared library on initialization when that plugin is serialized as part of a version-compatible plan. See the plugin chapter in the developer guide for details.
◆ ~ILoggerFinder()
virtual nvinfer1::ILoggerFinder::~ILoggerFinder |
( |
| ) |
|
|
protectedvirtualdefault |
◆ findLogger()
virtual ILogger * nvinfer1::ILoggerFinder::findLogger |
( |
| ) |
|
|
pure virtual |
Get the logger used by the engine or execution context which called the plugin method.
- Warning
- Must be called from the thread in which the plugin method was called.
- Returns
- A pointer to the logger.
The documentation for this class was generated from the following file: