1.1.0 • Published 5 years ago

consoleteller v1.1.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

INSTALL:

$ npm install consoleteller

SUMMARY:

ConsoleTeller is a very simple module built to format and give your console messages some colour in them.

USAGE:

ConsoleTeller has 6 different "logging types", these are:

'info', 'error', 'warning', 'fatal', 'debug', 'priority'

INFO:


Colour: Green

Input:

const consoleTeller = require('consoleteller')

consoleTeller.info('App Started')

Output:

[11:09:59] INFO App Started

ERROR:


Colour: Red

Input:

const consoleTeller = require('consoleteller')

consoleTeller.error('App Crashed')

Output:

[11:09:59] ERROR App Crashed

WARNING:


Colour: Yellow

Input:

const consoleTeller = require('consoleteller')

consoleTeller.warning('App Slowing Down')

Output:

[11:09:59] WARNING App Slowing Down

FATAL:


Colour: Purple

Input:

const consoleTeller = require('consoleteller')

consoleTeller.fatal('Proccess Crashed')

Output:

[11:09:59] FATAL Process Crashed

DEBUG:


Colour: Cyan

Input:

const consoleTeller = require('consoleteller')

consoleTeller.debug('Error Catched: No module found')

Output:

[11:09:59] DEBUG Error Catched: No module found

PRIORITY:


Colour: Blue

Input:

const consoleTeller = require('consoleteller')

consoleTeller.priority('Something Important')

Output:

[11:09:59] PRIORITY Something Important

Extra Info:


Priority will bypass any other console.log and will always come out first.

1.1.0

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago