Skip to content

Commit

Permalink
Replace slog with log
Browse files Browse the repository at this point in the history
This commit replaces the `slog` family of crates used by `wasm-pack`
with the `log` crate plus `env_logger`. This also means that by default
`wasm-pack` also won't create a `wasm-pack.log` file in the current
directory. Enabling logging will now be done through
`RUST_LOG=wasm_pack` instead of `-v` flags.

Closes #425
  • Loading branch information
alexcrichton authored and ashleygwilliams committed Feb 27, 2019
1 parent fb9808c commit 13ad111
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tests/all/utils/fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ impl Fixture {
self
}

<<<<<<< HEAD
/// Get a `wasm-pack` command configured to run in this fixure's temp
/// directory and using the test cache.
pub fn wasm_pack(&self) -> Command {
Expand Down

0 comments on commit 13ad111

Please sign in to comment.