Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prety_logs

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prety_logs

helps make your logs pretty.. I guess?

  • 3.3.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

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!!!', green);
plogs.log.custom('name    ', 'i dont have to be lame like these deafult loosers', yellow);

#types prety_logs comes with many default types of logs. these include, cmd - 'CMD' CMD

basic - just basic 'LOG' LOG

status - plain ol' 'STATUS' STATUS

boot - explains itself STATUS

error - Do i need to tell you what this one is??? STATUS

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', color);

###Example:

plogs.log.custom('LOG', 'hello world!', yellow);```

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 STATUS

Keywords

FAQs

Package last updated on 26 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc