MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / getLogger

Method getLogger

plugin/common/vfcCommon.cpp:52–60  ·  view source on GitHub ↗

Get the logger.

Source from the content-addressed store, hash-verified

50
51 //! Get the logger.
52 ILogger* getLogger() noexcept
53 {
54 std::lock_guard<std::mutex> lk(mMutex);
55 if (mLoggerFinder != nullptr)
56 {
57 return mLoggerFinder->findLogger();
58 }
59 return nullptr;
60 }
61};
62
63ThreadSafeLoggerFinder gLoggerFinder;

Callers 1

getPluginLoggerFunction · 0.45

Calls 1

findLoggerMethod · 0.80

Tested by

no test coverage detected