uilog
Overview
Use this module to create somewhat pretty CLI apps (like Avalon).
Simple output
You can log at various levels:
; ;;;;
Use setVerbose(true)
to change the visiblity of debug
rows.
Async output
But it's also possible to log async tasks with a spinner! They do follow the same visibility / styling rules as the normal logging functions.
; const ok = ;; const error = ;; const hide = ;; const download = ;;;;;;;;;;;;;
Nesting
With namespace
you can create arbitraty deeply nested log output:
; ;
Installation
npm install --save uilog