prety_logs v3.3.3
Prety_logs
helps make your logs pretty.. I guess?
Setup
if you have npm installed run 'npm install --save prety_logs'
var plogs = require('prety_logs');
plogs.log('basic', 'Hello World!!!', '32');
plogs.log.custom('name ', 'i dont have to be lame like these deafult loosers', '34');
#types prety_logs comes with many default types of logs. these include, cmd - 'CMD'
basic - just basic 'LOG'
status - plain ol' 'STATUS'
boot - explains itself
error - Do i need to tell you what this one is???
custom - see below for more information
~see below for color numbers~
Custom
custom - lets you make your own log names.
plogs.log.custom('logname' 'text', 'colornumber');
###Example:
plogs.log.custom('LOG', 'hello world!', '35');`
logname cannot be more than 7 characters
#Colors & Effects
NOTE: You may only use one color or effect at a time!!!
If you dont change the color they have default colors set!
blink = 5 bright = 1 dim = 2 hidden = 8 reverse = 7
Text color
black = 30 red = 31 green = 32 yellow = 33 blue = 34 purple = 35 cyan = 36 white = 37
Background color
white = 47 black = 40 red = 41 green = 42 yellow = 43 blue = 44 purple = 45 cyan = 46
#Plog You shouldnt see this one much unless one of us really messes up
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago