availity-workflow-logger
Simple colorized logger for availity-workflow
Stack
Usage
const Logger = require('availity-workflow-logger);
Logger.warn('Caution: Here be dragons.');
Static Methods
warn
console.log message in yellow.
error
console.log message in red.
info
console.log message in gray.
debug
Same as info.
log
Same as info.
simple
Alias for console.log and does not use colors.
empty
Prints an empty line in the terminal.
failed
Prints an error message in red with a cross symbol and error label
✖ [ ERROR ] Failed linting
message
Prints info message with custom label or INFO if not label is provided
ℹ [ Dry Run ] Skipping version bump
success
Prints a success message in green with a checkbox symbol.
✔︎ Finished linting
box
Terminal message wrapped in a box.
+--------------------------------------------------+
| |
| The app is running at http://localhost:3000/ |
| |
+--------------------------------------------------+