Closed crisptrutski closed 7 years ago
Boot already has global verbose flag. It sets dynamic var boot.util/*verbosity*
: https://github.com/boot-clj/boot/blob/master/boot/pod/src/boot/util.clj#L31-L43
The value can be used to set options for Doo.
Is this the accepted practice? Only concern is that user may only be wanting "extreme cljs-test detail", and they'd need to look through the noise from other tasks, and lower level boot constructs
Adding number flag, ie. -v 2
to set log level. But if that's not set, it'll default to the *verbosity*
var.
Doo takes two output options:
debug
andverbose
.The most naturally-boot way to handle this would be via a "stacking" log level argument: