https://github.com/emalherbi-zz/nodejs-console-log
console.log in NodeJS
https://github.com/emalherbi-zz/nodejs-console-log
Last synced: about 2 months ago
JSON representation
console.log in NodeJS
- Host: GitHub
- URL: https://github.com/emalherbi-zz/nodejs-console-log
- Owner: emalherbi-zz
- Created: 2020-02-28T13:56:54.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-28T18:04:19.000Z (about 5 years ago)
- Last Synced: 2025-03-08T08:47:46.562Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-console-log
## USAGE
```bash
npm i nodejs-console-log --save
``````js
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.
```