|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
9 #include "opentelemetry/version.h"
22 class LogRecordProcessor
49 std::chrono::microseconds timeout = (
std::chrono::microseconds::
max)()) noexcept = 0;
59 std::chrono::microseconds timeout = (
std::chrono::microseconds::
max)()) noexcept = 0;
std::unique_ptr< _Types... > unique_ptr
#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.
Extensions to the C++ standard library.
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.
virtual std::unique_ptr< Recordable > MakeRecordable() noexcept=0
Create a log recordable.