NVIDIA DeepStream SDK API Reference
9.2 Release
includes/opentelemetry/sdk/logs/exporter.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 <chrono>
7
#include <memory>
8
9
#include "opentelemetry/nostd/span.h"
10
#include "opentelemetry/sdk/common/exporter_utils.h"
11
#include "opentelemetry/sdk/logs/recordable.h"
12
#include "opentelemetry/version.h"
13
14
OPENTELEMETRY_BEGIN_NAMESPACE
15
namespace
sdk
16
{
17
namespace
logs
18
{
22
class
OPENTELEMETRY_EXPORT
LogRecordExporter
23
{
24
public
:
25
LogRecordExporter
();
26
virtual
~
LogRecordExporter
();
27
37
virtual
std::unique_ptr<Recordable> MakeRecordable() noexcept = 0;
38
47
virtual
sdk::common::ExportResult
Export(
48
const
nostd::span
<std::unique_ptr<Recordable>> &records) noexcept = 0;
49
53
virtual
bool
ForceFlush(
54
std::chrono::microseconds timeout = (
std::chrono::microseconds::max
)()) noexcept = 0;
55
63
virtual
bool
Shutdown(
64
std::chrono::microseconds timeout = (
std::chrono::microseconds::max
)()) noexcept = 0;
65
};
66
}
// namespace logs
67
}
// namespace sdk
68
OPENTELEMETRY_END_NAMESPACE
sdk::common::ExportResult
ExportResult
ExportResult is returned as result of exporting a batch of Records.
Definition:
includes/opentelemetry/sdk/common/exporter_utils.h:16
OPENTELEMETRY_EXPORT
#define OPENTELEMETRY_EXPORT
Definition:
includes/opentelemetry/common/macros.h:386
logs
Definition:
includes/opentelemetry/logs/event_id.h:13
OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_BEGIN_NAMESPACE
Definition:
includes/opentelemetry/version.h:21
nostd::span
Back port of std::span.
Definition:
includes/opentelemetry/nostd/span.h:51
max
int max(int a, int b)
Compute the component-wise maximum.
Definition:
sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h:60
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition:
includes/opentelemetry/version.h:24
sdk::logs::LogRecordExporter
LogRecordExporter defines the interface that log exporters must implement.
Definition:
includes/opentelemetry/sdk/logs/exporter.h:22
sdk
Definition:
includes/opentelemetry/sdk/common/atomic_shared_ptr.h:13
Privacy Policy
|
Your Privacy Choices
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Wed Oct 28 2026 12:02:02 | PR-09318-R32