NVIDIA DeepStream SDK API Reference
9.2 Release
includes/opentelemetry/sdk/logs/logger_context_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
#include <vector>
8
9
#include "opentelemetry/sdk/logs/logger_context.h"
10
#include "opentelemetry/sdk/logs/processor.h"
11
#include "opentelemetry/sdk/resource/resource.h"
12
#include "opentelemetry/version.h"
13
14
OPENTELEMETRY_BEGIN_NAMESPACE
15
namespace
sdk
16
{
17
namespace
logs
18
{
19
23
class
LoggerContextFactory
24
{
25
public
:
31
static
std::unique_ptr<LoggerContext>
Create
(
32
std::vector<std::unique_ptr<LogRecordProcessor>> &&processors);
33
40
static
std::unique_ptr<LoggerContext>
Create
(
41
std::vector<std::unique_ptr<LogRecordProcessor>> &&processors,
42
const
opentelemetry::sdk::resource::Resource &resource);
43
53
static
std::unique_ptr<LoggerContext>
Create
(
54
std::vector<std::unique_ptr<LogRecordProcessor>> &&processors,
55
const
opentelemetry::sdk::resource::Resource &resource,
56
std::unique_ptr
<
instrumentationscope::ScopeConfigurator<LoggerConfig>
> logger_configurator);
57
};
58
59
}
// namespace logs
60
}
// namespace sdk
61
62
OPENTELEMETRY_END_NAMESPACE
sdk::logs::LoggerContextFactory
Factory class for LoggerContext.
Definition:
includes/opentelemetry/sdk/logs/logger_context_factory.h:23
nostd::unique_ptr
std::unique_ptr< _Types... > unique_ptr
Definition:
includes/opentelemetry/std/unique_ptr.h:19
sdk::logs::LoggerContextFactory::Create
static std::unique_ptr< LoggerContext > Create(std::vector< std::unique_ptr< LogRecordProcessor >> &&processors)
Create a LoggerContext with specified LogRecordProcessors.
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::instrumentationscope::ScopeConfigurator
A scope configurator is a function that returns the scope config for a given instrumentation scope.
Definition:
includes/opentelemetry/sdk/instrumentationscope/scope_configurator.h:20
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:08 | PR-09318-R32