blob: db71cbd4e620c8cd7fd52839949df63fac62c816 [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) {
return std::make_unique<CobaltLoggerImpl>(dispatcher, services, project_id);
}
} // namespace cobalt