|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
9 #include "opentelemetry/version.h"
41 virtual void OnEmit(std::unique_ptr<Recordable> &&record) noexcept = 0;
#define OPENTELEMETRY_BEGIN_NAMESPACE
int max(int a, int b)
Compute the component-wise maximum.
#define OPENTELEMETRY_END_NAMESPACE
virtual ~LogRecordProcessor()=default
virtual void OnEmit(std::unique_ptr< Recordable > &&record) noexcept=0
OnEmit is called by the SDK once a log record has been successfully created.
virtual bool Shutdown(std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept=0
Shuts down the processor and does any cleanup required.
virtual bool ForceFlush(std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept=0
Exports all log records that have not yet been exported to the configured Exporter.
The Log Processor is responsible for passing log records to the configured exporter.
virtual std::unique_ptr< Recordable > MakeRecordable() noexcept=0
Create a log recordable.