Update README.md
This commit is contained in:
parent
f17637b69c
commit
132c0bc8b7
@ -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("something") // even this works because console.log is monkeypatched by beautylog
|
||||||
myOra.text("some updated text");
|
myOra.text("some updated text");
|
||||||
myOra.stop();
|
myOra.stop();
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user