https://github.com/hex7c0/console-override
override console methods
https://github.com/hex7c0/console-override
console-log nodejs
Last synced: about 1 month ago
JSON representation
override console methods
- Host: GitHub
- URL: https://github.com/hex7c0/console-override
- Owner: hex7c0
- License: gpl-3.0
- Created: 2016-01-19T22:35:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-16T23:21:22.000Z (about 3 years ago)
- Last Synced: 2025-03-12T04:38:48.295Z (over 1 year ago)
- Topics: console-log, nodejs
- Language: JavaScript
- Homepage: https://github.com/hex7c0/console-override
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# [console-override](https://github.com/hex7c0/console-override)
[](https://www.npmjs.com/package/console-override)
[](https://travis-ci.org/hex7c0/console-override)
[](https://ci.appveyor.com/project/hex7c0/console-override)
[](https://david-dm.org/hex7c0/console-override)
[](https://coveralls.io/r/hex7c0/console-override)
Override `console` methods with `Date.toISOString` before text (monkey patching)
## Installation
Install through NPM
```bash
npm install console-override
```
or
```bash
git clone git://github.com/hex7c0/console-override.git
```
## API
inside nodejs project
```js
var _console = require('console-override');
```
### _console.log()
return `console.log` method
### _console.info()
return `console.info` method
### _console.warn()
return `console.warn` method
### _console.error()
return `console.error` method
## Examples
Take a look at my [examples](examples)
### [License GPLv3](LICENSE)