rOACCT/node_modules/log-symbols49c99f97fe9aissn4frontend
rOACCT/node_modules/log-symbols
49c99f97fe9aissn4frontend
readme.md
readme.md
log-symbols ![Build Status](https://travis-ci.org/sindresorhus/log-symbols)
<img src="screenshot.png" width="226" height="192" align="right">
Colored symbols for various log levels
Includes fallbacks for Windows CMD which only supports a limited character set.
Install
$ npm install log-symbols
Usage
js const logSymbols = require('log-symbols'); console.log(logSymbols.success, 'Finished successfully!'); // On good OSes: ✔ Finished successfully! // On Windows: √ Finished successfully!
API
logSymbols
- info
- success
- warning
- error
Related
- figures - Unicode symbols with Windows CMD fallbacks
- py-log-symbols - Python port
- log-symbols - Ruby port
License
MIT © Sindre Sorhus
c4science · Help