console.error :
-
The purpose of this module is not to give many options for logging , it is just give you lightweight the missing API of console : which is here
console.error
. -
No need documentation, because
console.error
takes the same arguments asconsole.log
. Howeverconsole.error
will be displayed on terminal like above.
Install :
npm install console-error --save;
How to use :
;// or in babel: import * from 'console-error'; console; // log time nowconsole ; // log Objectconsole; // I told you : it is like console.log
Related modules :
Use also :
npm install console-info console-warn --save;