blob: 95d84a4d66b5286185ea1ddefbb93bdef0eb395a [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/lib/cobalt/cpp/cobalt_logger.h"
#include <fuchsia/cobalt/cpp/fidl.h>
#include <lib/syslog/cpp/macros.h>
#include "src/lib/cobalt/cpp/cobalt_logger_impl.h"
namespace cobalt {
std::unique_ptr<CobaltLogger> NewCobaltLoggerFromProjectId(
async_dispatcher_t* dispatcher, std::shared_ptr<sys::ServiceDirectory> services,
uint32_t project_id, size_t max_buffer_size) {
return std::make_unique<CobaltLoggerImpl>(dispatcher, services, project_id, max_buffer_size);
}
} // namespace cobalt