

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
$.log("Log this text")
$.log("Log this text","#00bcd4")
$.logAll()
Last argument must be a color code (optional)
$.logAll("Log this text",{name:"Sync"},$.color.chocolate)
$.logTitle()
Displays the text in stylelog logo style
$.logTitle('stylelog');

$.logLego()
Displays the text in stylelog logo style but in custom color
$.logLego("DEV","#d91f26","#d91f26","#a622ab");
$.logImage()
Displays the image in log. It supports both PNG, JPEG & GIF
$.logImage("http://domain.com/img.png");
$.logImage("Show Text","http://domain.com/img.png");

$.logInStyle()
Pass the text to display and CSS Style
$.logInStyle("text to display","font-size: 50px;color:'#00bcd4'");
$.logTable()
Displays the JS object & array in table format
$.logTable([{name:"Anooj",department:"Mobile"},{name:"Sarthak",department:"R & D"},{name:"Jyothi",department:"Mobile"}])

$.logObjectJSON()
Converts object to JSON string and logs it in style
$.logObjectJSON({j:'kk',l:'ku'},$.color.rebeccapurple);
$.logJSONObject()
Converts JSON string to object and logs it
$.logObjectJSON({"j":"kk","l":"ku"});
$.logObjectKeys()
Displays all keys in an object
$.logObjectKeys({"j":"kk","l":"ku"});
$.flipObject()
Flips keys to values & values to keys
$.flipObject({"j":"kk","l":"ku"});