burgerlog
v1.0.0
Published
Increase your hungry for logging
Downloads
3
Readme
Burger ·
Increase your hungry for logging
Motivation
Burger
was created to put all your logging information into a bread.
This project is inspired in a similar logger tool called cowsay
Installation
Burguer is available as the burger
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
React is MIT licensed.