Streaming Command Output to Effect Context for Logging

Is it possible to have the output from the command somehow be pulled into the effect context and logged with Effect.logDebug?

    const command = Command.make(
      executablePath,
      "-p",
      "3331"
    ).pipe(
      Command.stdout(?????),
      Command.stderr(?????),
      Command.exitCode
    );
Was this page helpful?