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

Function LOG_FATAL

samples/common/logging.h:573–576  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

571//! LOG_FATAL(logger) << "hello world" << std::endl;
572//!
573inline LogStreamConsumer LOG_FATAL(const Logger& logger)
574{
575 return LogStreamConsumer(logger.getReportableSeverity(), Severity::kINTERNAL_ERROR);
576}
577} // anonymous namespace
578} // namespace sample
579#endif // TENSORRT_LOGGING_H

Callers 1

logger.cppFile · 0.70

Calls 2

LogStreamConsumerClass · 0.70
getReportableSeverityMethod · 0.45

Tested by

no test coverage detected