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

Method log

samples/common/logging.h:312–315  ·  view source on GitHub ↗

\brief Implementation of the nvinfer1::ILogger::log() virtual method Note samples should not be calling this function directly; it will eventually go away once we eliminate the inheritance from nvinfer1::ILogger

Source from the content-addressed store, hash-verified

310 //! inheritance from nvinfer1::ILogger
311 //!
312 void log(Severity severity, const char* msg) noexcept override
313 {
314 LogStreamConsumer(mReportableSeverity, severity) << "[TRT] " << std::string(msg) << std::endl;
315 }
316
317 //!
318 //! \brief Method for controlling the verbosity of logging output

Callers

nothing calls this directly

Calls 1

LogStreamConsumerClass · 0.70

Tested by

no test coverage detected