Log to stderr by default. (#1266)

Change the default from file-per-thread-logger to pretty-env-logger,
which is more common in Rust projects, and change the option from `-d`
to `--log-to-files`.
This commit is contained in:
Dan Gohman
2020-03-10 07:36:56 -07:00
committed by GitHub
parent 674a6208d8
commit ac0ee271b1
6 changed files with 40 additions and 14 deletions

View File

@@ -88,9 +88,9 @@ struct CommonOptions {
#[structopt(long, conflicts_with = "lightbeam")]
cranelift: bool,
/// Enable debug output
#[structopt(short, long)]
debug: bool,
/// Log to per-thread log files instead of stderr.
#[structopt(long)]
log_to_files: bool,
/// Generate debug information
#[structopt(short = "g")]