This library is just for all JS lovers out there to see the logs in style. All React-Native developers, try this on your debugger
Installation
$ npm install logdecor
Usage
Import stylelog
import $ from 'logdecor'
Available Methods
$.log() Parameters: text ,color-code
$ //Simply logs the content $ //Logs it in specific color code
$.logAll() Last argument must be a color code (optional)
$ //Logs the text in chocolate color and logs the rest of the elements
$.logTitle() Displays the text in stylelog logo style
$; //Logs the text in styleog logo style
$.logLego() Displays the text in stylelog logo style but in custom color
$; //Logs the text in styleog logo style (custom color)
$.logImage() Displays the image in log. It supports both PNG, JPEG & GIF
$; //Displays the image in chrome console $; //Pass text as optional
$.logInStyle() Pass the text to display and CSS Style
$; //This will show the text in given style
$.logTable() Displays the JS object & array in table format
$
$.logObjectJSON() Converts object to JSON string and logs it in style
$; //Displays the stringified version of object in console
$.logJSONObject() Converts JSON string to object and logs it
$; //Displays the parsed version of json string in console
$.logObjectKeys() Displays all keys in an object
$; //Displays the array of keys in console //["j","l"]
$.flipObject() Flips keys to values & values to keys
$; //Displays the array of keys in console //{"kk":"j","ku":"l"}