AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NoopTelemetryProvider.h
1
5#pragma once
6
7#include <smithy/Smithy_EXPORTS.h>
8
9#include <utility>
10#include <smithy/tracing/NoopTracerProvider.h>
11#include <smithy/tracing/NoopMeterProvider.h>
12#include <smithy/tracing/TelemetryProvider.h>
13
14namespace smithy {
15 namespace components {
16 namespace tracing {
21 class SMITHY_API NoopTelemetryProvider {
22 public:
24 return Aws::MakeUnique<TelemetryProvider>("NO_OP",
25 Aws::MakeUnique<NoopTracerProvider>("NO_OP", Aws::MakeUnique<NoopTracer>("NO_OP")),
26 Aws::MakeUnique<NoopMeterProvider>("NO_OP"),
27 []() -> void {},
28 []() -> void {});
29 }
30 };
31 }
32 }
33}
static Aws::UniquePtr< TelemetryProvider > CreateProvider()
std::unique_ptr< T, D > UniquePtr
Definition AWSMemory.h:255