RUST_LOG_STYLE

The RUST_LOG_STYLE variable sets the style of printed records. It has three variants:

  • auto: Tries to use the style characters
  • always: Always uses the style characters
  • never: Turns off the style characters

See the following example:

RUST_LOG_STYLE=auto cargo run

I recommend that you use the never value if you redirect the stderr output a file or if you want to use grep or awk to extract values with special patterns.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.15.235.188