1.1.4 • Published 6 years ago
coffee-logging v1.1.4
Coffee Logger
The CoffeeLogger is an easy way for you to write beautiful logging information in the terminal. No more stress writing logging classes to send messages that looks nice to your terminal. It's already done for ya.
Installation
# Using Node Package Manager
npm i -S coffee-logging
# Using Yarn
yarn add coffee-logging
# Using Bower
bower install coffee-logging
Usage
# This example is in CoffeeScript
Logger = require 'coffee-logging'
Logger.warning 'Something smells fishy here'
Logging Methods
error
, warning
, success
, info
, alert
and debug
# This example is in CoffeScript
Logger.error message
Logger.warning message
Logger.success message
Logger.info message
Logger.alert message
Logger.debug message