NVIDIA DeepStream SDK API Reference

9.2 Release
includes/opentelemetry/sdk/logs/batch_log_record_processor_factory.h
Go to the documentation of this file.
1 // Copyright The OpenTelemetry Authors
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #pragma once
5 
6 #include <memory>
7 
8 #include "opentelemetry/sdk/logs/batch_log_record_processor_options.h"
9 #include "opentelemetry/sdk/logs/batch_log_record_processor_runtime_options.h"
10 #include "opentelemetry/sdk/logs/exporter.h"
11 #include "opentelemetry/sdk/logs/processor.h"
12 #include "opentelemetry/version.h"
13 
15 namespace sdk
16 {
17 
18 namespace logs
19 {
20 
25 {
26 public:
30  static std::unique_ptr<LogRecordProcessor> Create(std::unique_ptr<LogRecordExporter> &&exporter,
31  const BatchLogRecordProcessorOptions &options);
32 
36  static std::unique_ptr<LogRecordProcessor> Create(
37  std::unique_ptr<LogRecordExporter> &&exporter,
38  const BatchLogRecordProcessorOptions &options,
39  const BatchLogRecordProcessorRuntimeOptions &runtime_options);
40 };
41 
42 } // namespace logs
43 } // namespace sdk
sdk::logs::BatchLogRecordProcessorRuntimeOptions
Struct to hold batch SpanProcessor runtime options.
Definition: includes/opentelemetry/sdk/logs/batch_log_record_processor_runtime_options.h:22
OPENTELEMETRY_EXPORT
#define OPENTELEMETRY_EXPORT
Definition: includes/opentelemetry/common/macros.h:386
sdk::logs::BatchLogRecordProcessorOptions
Struct to hold batch LogRecordProcessor options.
Definition: includes/opentelemetry/sdk/logs/batch_log_record_processor_options.h:21
logs
Definition: includes/opentelemetry/logs/event_id.h:13
exporter
Definition: includes/opentelemetry/exporters/memory/in_memory_data.h:11
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition: includes/opentelemetry/version.h:21
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition: includes/opentelemetry/version.h:24
sdk::logs::BatchLogRecordProcessorFactory
Factory class for BatchLogRecordProcessor.
Definition: includes/opentelemetry/sdk/logs/batch_log_record_processor_factory.h:24
sdk
Definition: includes/opentelemetry/sdk/common/atomic_shared_ptr.h:13