// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

#include "opentelemetry/sdk/logs/simple_log_record_processor_factory.h"
#include "opentelemetry/sdk/logs/simple_log_record_processor.h"

OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace logs
{

std::unique_ptr<LogRecordProcessor> SimpleLogRecordProcessorFactory::Create(
    std::unique_ptr<LogRecordExporter> &&exporter)
{
  std::unique_ptr<LogRecordProcessor> processor(new SimpleLogRecordProcessor(std::move(exporter)));
  return processor;
}

}  // namespace logs
}  // namespace sdk
OPENTELEMETRY_END_NAMESPACE
