turborepo
e143b191 - fix: use error logger in Rust turborepo (#3253)

Commit
3 years ago
fix: use error logger in Rust turborepo (#3253) Moves messaging in Rust land to use the standard logger where applicable: - clap errors will now be printed via the error logger - `turborepo_lib::main` now logs any errors via the error logger instead of having the caller decide how to handle the error The following are other uses of standard (`println!/write!`) print functionality that weren't changed: - clap help text - `turbo --version` - `turbo bin` This PR does not change the Go side of error logging, but there should only be a single place that needs updating: [root.go](https://github.com/vercel/turbo/blob/main/cli/internal/cmd/root.go#L100) Example of new output: ![Screen Shot 2023-01-10 at 1 18 43 PM](https://user-images.githubusercontent.com/4131117/211664782-02d149c3-61d8-469d-b0e3-1855bc66c102.png) Co-authored-by: Thomas Knickman <tom.knickman@vercel.com>
Parents
Loading