error-log
Version:
log error message in red color to console
47 lines (26 loc) • 2.15 kB
Markdown
# [error-log](https://www.npmjs.com/package/error-log)
[](https://github.com/ellerbrock/javascript-badges/) [](https://github.com/ellerbrock/javascript-badges/) [](http://commitizen.github.io/cz-cli/) [](https://github.com/conventional-changelog/standard-version) [](https://github.com/ellerbrock/open-source-badges/) [](https://gitter.im/frapsoft/frapsoft/)
_log error messages in red color to console_
## Project Status
[](https://travis-ci.org/ellerbrock/error-log)
### install with npm
`npm install --save error-log`
### install with yarn
`yarn add error-log`
### Example
#### ES5
```javascript
var errorLog = require('error-log')
errorLog('my error message ...')
```
#### ES6
```javascript
import errorLog from 'error-log'
errorLog('my error message ...')
```
### Contact / Social Media
_Get the latest News about Web Development, Open Source, Tooling, Server & Security_
[](https://twitter.com/frapsoft/)[](https://www.facebook.com/frapsoft/)[](https://plus.google.com/116540931335841862774)[](https://gitter.im/frapsoft/frapsoft/)[](https://github.com/ellerbrock/)
### License
Copyright (c) 2016 [Maik Ellerbrock](https://github.com/ellerbrock/)
[](https://opensource.org/licenses/mit-license.php)