enhance-log
v1.0.7
Published
Simple/lazy but pretty console logging for TS/JS projects
Downloads
2
Readme
Simple/lazy but pretty console logging for TS/JS projects
Main features:
Log.i("Here's some info for ya");
Log.d("Something debug this way comes");
Log.w("WARNING! Something undesirable happened");
Log.c("#FFC0CB", "Looking pretty in pink");
Log.e("ERROR! Something really bad has happened");
Log.throw("ERROR! I give up");
Set default colours with:
Log.color.info = "blue";
Log.color.debug = "green";
Log.color.warn = "orange";
Log.color.error = "purple";
Installation
$> npm i enhance-log
Contributors
Luke Trimby
Licence
MIT