Atom Packages Directory

a package directory for a text editor of the 21st Century

Console Log by Vishwam Sankar

Install with:
    apm install console-log
  

Build Status apm apm apm # console-log package

console-log is a simple and smart helper function that makes logging and debugging easy. New Config options added

Features (click for demo)

### Basic Logging * ctrl-l (OSX) or ctrl-alt-l (Linux/Windows) - Generates a console.log with identifier if text/variable is selected, and empty console.log if no text is selected. * ctrl-o (OSX) or ctrl-alt-o (Linux/Windows) - Generates a console.log with text/variable within a JSON.stringify method.

Smart Object Logging (Incremental improvements in works)

Smart Function Logging (Early release still in works)

Smart Conditionals Logging (early release)

Logging Cleanup

Identifier Styling (Chrome Dev Tools only)

Note:- This functionality will only work for selected text * ctrl-alt-c (plain insert) or ctrl-alt-s (JSON.stringify insert) - For logging in the chrome dev tools console, you can choose to enable text styling for the identifier

Installation

You can install this package from the CLI or from the Editor. * CLI - apm install console-log * Editor - Atom > Preferences > Install > Search for console-log in Packages

Configurations

Languages Supported

Coming soon !

Help me help you !

If you see any bugs in this package or if you have any additional features that you would like, please add an issue to this repo and I will look to resolve it.

Keywords: console.log, console, console-log, debugging, debug, json.stringify, deconsoler, clean console.log, clean logging, remove logging, remove console.log Suggest keywords
Fork me on GitHub