NVIDIA DeepStream SDK API Reference
9.2 Release
includes/opentelemetry/sdk/logs/recordable.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 "opentelemetry/logs/log_record.h"
7
#include "opentelemetry/version.h"
8
9
OPENTELEMETRY_BEGIN_NAMESPACE
10
namespace
sdk
11
{
12
namespace
resource
13
{
14
class
Resource;
15
}
// namespace resource
16
17
namespace
instrumentationscope
18
{
19
class
InstrumentationScope;
20
}
// namespace instrumentationscope
21
22
namespace
logs
23
{
30
class
Recordable
:
public
opentelemetry::logs::LogRecord
31
{
32
public
:
37
virtual
void
SetResource
(
const
opentelemetry::sdk::resource::Resource &resource) noexcept = 0;
38
43
virtual
void
SetInstrumentationScope
(
44
const
opentelemetry::sdk::instrumentationscope::InstrumentationScope
45
&instrumentation_scope) noexcept = 0;
46
};
47
48
}
// namespace logs
49
}
// namespace sdk
50
OPENTELEMETRY_END_NAMESPACE
sdk::logs::Recordable::SetInstrumentationScope
virtual void SetInstrumentationScope(const opentelemetry::sdk::instrumentationscope::InstrumentationScope &instrumentation_scope) noexcept=0
Set instrumentation_scope for this log.
logs
Definition:
includes/opentelemetry/logs/event_id.h:13
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
Definition:
includes/opentelemetry/sdk/common/atomic_shared_ptr.h:13
sdk::logs::Recordable
Maintains a representation of a log in a format that can be processed by a recorder.
Definition:
includes/opentelemetry/sdk/logs/recordable.h:30
sdk::logs::Recordable::SetResource
virtual void SetResource(const opentelemetry::sdk::resource::Resource &resource) noexcept=0
Set Resource of this log.
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:36 | PR-09318-R32