blob: a456aa9120e591bfa0deb365d416459e8dbbc90d [file] [log] [blame]
// Copyright 2020 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 <zircon/types.h>
namespace StdoutToDebuglog {
// Connect the stdout and stderr for this program to the kernel's debuglog. This
// is used by v2 components launched by the ELF runner, because they don't
// otherwise have stdout and stderr. The fuchsia.logger.LogSink protocol is also
// insufficient for some of these components for logging, as we must have logs
// for many of these components before appmgr can start running v1 components.
zx_status_t Init();
} // namespace StdoutToDebuglog