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

Function LOG_ERROR

samples/common/logging.h:560–563  ·  view source on GitHub ↗

\brief produces a LogStreamConsumer object that can be used to log messages of severity kERROR Example usage: LOG_ERROR(logger) << "hello world" << std::endl;

Source from the content-addressed store, hash-verified

558//! LOG_ERROR(logger) << "hello world" << std::endl;
559//!
560inline LogStreamConsumer LOG_ERROR(const Logger& logger)
561{
562 return LogStreamConsumer(logger.getReportableSeverity(), Severity::kERROR);
563}
564
565//!
566//! \brief produces a LogStreamConsumer object that can be used to log messages of severity kINTERNAL_ERROR

Callers 1

logger.cppFile · 0.70

Calls 2

LogStreamConsumerClass · 0.70
getReportableSeverityMethod · 0.45

Tested by

no test coverage detected