Class LoggerProviderFactory

Class Documentation

class LoggerProviderFactory

Factory class for LoggerProvider.

Public Static Functions

static std::unique_ptr<opentelemetry::sdk::logs::LoggerProvider> Create(std::unique_ptr<LogRecordProcessor> &&processor)

Create a LoggerProvider.

static std::unique_ptr<opentelemetry::sdk::logs::LoggerProvider> Create(std::unique_ptr<LogRecordProcessor> &&processor, const opentelemetry::sdk::resource::Resource &resource)

Create a LoggerProvider.

static std::unique_ptr<opentelemetry::sdk::logs::LoggerProvider> Create(std::vector<std::unique_ptr<LogRecordProcessor>> &&processors)

Create a LoggerProvider.

static std::unique_ptr<opentelemetry::sdk::logs::LoggerProvider> Create(std::vector<std::unique_ptr<LogRecordProcessor>> &&processors, const opentelemetry::sdk::resource::Resource &resource)

Create a LoggerProvider.

static std::unique_ptr<opentelemetry::sdk::logs::LoggerProvider> Create(std::unique_ptr<LoggerContext> context)

Create a LoggerProvider.