NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/includes/opentelemetry/sdk/logs/logger_config.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/version.h"
7 
9 namespace sdk
10 {
11 namespace logs
12 {
19 class OPENTELEMETRY_EXPORT LoggerConfig
20 {
21 public:
22  bool operator==(const LoggerConfig &other) const noexcept;
23 
28  bool IsEnabled() const noexcept;
29 
34  static LoggerConfig Enabled();
35 
41  static LoggerConfig Disabled();
42 
49  static LoggerConfig Default();
50 
51 private:
52  explicit LoggerConfig(const bool disabled = false) : disabled_(disabled) {}
53 
54  bool disabled_;
55 };
56 } // namespace logs
57 } // namespace sdk
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
OPENTELEMETRY_END_NAMESPACE
#define OPENTELEMETRY_END_NAMESPACE
Definition: includes/opentelemetry/version.h:24
ds3d::operator==
bool operator==(const Shape &a, const Shape &b)
Definition: includes/ds3d/common/func_utils.h:184
sdk
Definition: includes/opentelemetry/sdk/common/atomic_shared_ptr.h:13