mikeludemann / coloring-console

Coloring all informations in the console

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coloring-console

Coloring all informations in the console

Example

import ColoringConsole from './ColoringConsole';

const custom = new ColoringConsole;

const error = new ColoringConsole('error');

error.setBodyStyle({ color: 'red', size: '20px' });

console.log('Regular log..');

custom.log('Custom: Hello there!');

error.log('Custom Error: Something bad happened!');

About

Coloring all informations in the console

License:MIT License


Languages

Language:JavaScript 100.0%