| 1 |
/** |
| 2 |
Colored symbols for various log levels. |
| 3 |
|
| 4 |
Includes fallbacks for Windows CMD which only supports a [limited character set](https://en.wikipedia.org/wiki/Code_page_437). |
| 5 |
|
| 6 |
@example |
| 7 |
``` |
| 8 |
import logSymbols from 'log-symbols'; |
| 9 |
|
| 10 |
console.log(logSymbols.success, 'Finished successfully!'); |
| 11 |
// Terminals with Unicode support: ✔ Finished successfully! |
| 12 |
// Terminals without Unicode support: √ Finished successfully! |
| 13 |
``` |
| 14 |
*/ |
| 15 |
declare const logSymbols: { |
| 16 |
readonly info: string; |
| 17 |
readonly success: string; |
| 18 |
readonly warning: string; |
| 19 |
readonly error: string; |
| 20 |
}; |
| 21 |
|
| 22 |
export default logSymbols; |