Skip to main content

Module normal

Module normal 

Source
Available on crate features print_ext and std only.
Expand description

Lightweight stdio printing helpers.

This module provides small convenience wrappers around the standard print!/println! and eprint!/eprintln! macros, plus debug variants.

The goal is to keep call sites terse and consistent when emitting text to stdout/stderr.

Functionsยง

dbg
Prints a debug representation of msg to stdout, followed by a newline.
edbg
=> {msg:?} |> eprintln!
eprint
=> msg |> eprint!
eputs
=> msg |> eprintln!
print
=> msg |> print!
puts
=> msg |> println!