Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 2.13 KB

README.md

File metadata and controls

86 lines (60 loc) · 2.13 KB

Burger Log · License: MIT Dependecies Build Status

Increase your hungry for logging

Motivation

burgerlog was created to put all your logging information into a bread.

This project is inspired in a similar logger tool called cowsay

I hope you enjoy it :)

Installation

Burguer is available as the burgerlog package on npm.

npm install --save-dev burgerlog

And to use it just call it:

const burger = require('burger');

Examples

Here some examples for start logging using burger

Cheeseburger

burger.cook('Lorem ipsum dolor sit amet');

Result:

       _....----"""----...._
    .-'  o    o    o    o   '-.
   /  o    o    o         o    \
  /__o___o_ _ o___ _ o_ o_ _ _o_\
/                                 \
| Lorem ipsum dolor sit amet      |
\_________________________________/
  \~`-`.__.`-~`._.~`-`~.-~._.~`-/
   \                           /
    `-._____________________.-'

Smashburger

burger.recipe.setIngredients({
    salad: true,
});

burger.cook('Lorem ipsum dolor sit amet');

Result:

       _....----"""----...._
    .-'  o    o    o    o   '-.
   /  o    o    o         o    \
  /__o___o_ _ o___ _ o_ o_ _ _o_\
  ~~~`-`.__.`-~`._.~`-`~.-~._.~~~
/                                 \
| Lorem ipsum dolor sit amet      |
\_________________________________/
  \~`-`.__.`-~`._.~`-`~.-~._.~`-/
   \                           /
    `-._____________________.-'

Creating your own burguer

Name Default
salad false
vegan false
cheese true

Yes!!! We also have vegan burgers

License

Burger Log is MIT licensed.