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