nodejs-console-log

console.log in node

Usage no npm install needed!

<script type="module">
  import nodejsConsoleLog from 'https://cdn.skypack.dev/nodejs-console-log';
</script>

README

nodejs-console-log

USAGE

npm i nodejs-console-log --save
const console = require('nodejs-console-log');

console.dtFormat('DD/MM/YYYY HH:mm:ss');

console.log('=> Test Log.');
console.info('=> Test Info.');
console.warn('=> Test Warning.');
console.error('=> Test Error.');

OUTPUT

28/02/2020 11:37:10 - => Test Log.
28/02/2020 11:37:10 - => Test Info.
28/02/2020 11:37:10 - => Test Warning.
28/02/2020 11:37:10 - => Test Error.