Class LoggerContextFactory

Class Documentation

class LoggerContextFactory

Factory class for LoggerContext.

Public Static Functions

static std::unique_ptr<LoggerContext> Create(std::vector<std::unique_ptr<LogRecordProcessor>> &&processors)

Create a LoggerContext.

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

Create a LoggerContext.