Skip to content

Debugging RustScan

Bee edited this page Sep 14, 2020 · 2 revisions

RustScan uses the log library for logging.

To use this, place the information you require in info! like so:

info!("Printing opening");

And then to turn it on, set the env like so:

➜  RUST_LOG=error ./rustscan 127.0.0.1

This is from env_logger.