pink/stderr

Types

pub type Stderr

Functions

pub fn get() -> Stderr

Get the stderr stream.

pub fn stderr(stderr: Stderr) -> Dynamic

process.stderr

pub fn write(on stderr: Stderr, chunk chunk: String) -> Nil

Write any string to stderr, while preserving Ink’s output.

It’s useful when you want to display some external information outside of Ink’s rendering and ensure there’s no conflict between the two. It’s similar to static, except it can’t accept components, it only works with strings

Search Document