Skip to main content

console_error

Function console_error 

Source
pub const fn console_error() -> ConsoleError 
Expand description

Get a writer for errors to console error.
(For use on web/wasm : with “console” feature)

Writes errors to js-sys console error.
Ignores errors from browser if a console can not be accessed.
Does nothing on native.

§Example

let mut writer = cliw::output::console_error();