blob: 0c9ff6ee3c45c81d1c38174692c106ca947a6c8d [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.
library test.log.stdio;
/// `StdioPuppet` is a test interface through which a test controller commands
/// a puppet to write logs to stdio. This allows the controller to verify stdio
/// piping.
[Discoverable]
protocol StdioPuppet {
/// Writes |line| to stdout, appending a newline character.
WritelnStdout(string:1024 line);
/// Writes |line| to stderr, appending a newline character.
WritelnStderr(string:1024 line);
};