Update README.md
This commit is contained in:
parent
65cebb32b3
commit
9abb4c0d14
@ -37,6 +37,7 @@ beautylog wraps the excellent ora module from npm to better work with beautylog.
|
|||||||
var myOra = new beautylog.Ora("my awesome text", "blue");
|
var myOra = new beautylog.Ora("my awesome text", "blue");
|
||||||
myOra.start();
|
myOra.start();
|
||||||
beautylog.info("some persistent text") //does not disturb myOra
|
beautylog.info("some persistent text") //does not disturb myOra
|
||||||
|
console.log("sometext or anything else like an logable object"); // yep, beautylog monkeypatches console.log so this works seamlessly
|
||||||
myOra.text("some updated text");
|
myOra.text("some updated text");
|
||||||
myOra.stop();
|
myOra.stop();
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user