availity-workflow-logger

Simple colorized logger for availity-workflow

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
2627May 10, 2021Sep 8, 2015Minified + gzip package size for availity-workflow-logger in KB

Readme

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/   |
|                                                  |
+--------------------------------------------------+

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.