|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
6 #include "opentelemetry/common/key_value_iterable.h"
7 #include "opentelemetry/common/key_value_iterable_view.h"
8 #include "opentelemetry/nostd/shared_ptr.h"
9 #include "opentelemetry/nostd/span.h"
10 #include "opentelemetry/nostd/string_view.h"
11 #include "opentelemetry/nostd/type_traits.h"
12 #include "opentelemetry/version.h"
26 virtual ~LoggerProvider() =
default;
51 std::initializer_list<std::pair<nostd::string_view, common::AttributeValue>> attributes)
53 return GetLogger(logger_name, library_name, library_version, schema_url,
54 nostd::span<
const std::pair<nostd::string_view, common::AttributeValue>>{
55 attributes.
begin(), attributes.end()});
66 return GetLogger(logger_name, library_name, library_version, schema_url,
#define OPENTELEMETRY_EXPORT
Supports internal iteration over a collection of key-value pairs.
T * begin() const noexcept
Provide a type-erased version of std::shared_ptr that has ABI stability.
#define OPENTELEMETRY_BEGIN_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Supports internal iteration over a collection of key-value pairs.
typename std::enable_if< B, T >::type enable_if_t
Back port of std::enable_if_t.
Container for key-value pairs that can transform every value in it to one of types listed in common::...
nostd::shared_ptr< Logger > GetLogger(nostd::string_view logger_name, nostd::string_view library_name, nostd::string_view library_version, nostd::string_view schema_url, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes)
nostd::shared_ptr< Logger > GetLogger(nostd::string_view logger_name, nostd::string_view library_name, nostd::string_view library_version, nostd::string_view schema_url, const T &attributes)
Back port of std::string_view to work with pre-cpp-17 compilers.