Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console #2

Closed
delchev opened this issue Apr 30, 2016 · 2 comments
Closed

console #2

delchev opened this issue Apr 30, 2016 · 2 comments

Comments

@delchev
Copy link
Contributor

delchev commented Apr 30, 2016

API for "console"

@delchev
Copy link
Contributor Author

delchev commented Apr 30, 2016

Aligned to:

  1. Google Chrome Console API - https://developer.chrome.com/devtools/docs/console-api
  2. Node.js Console API - https://nodejs.org/api/console.html

implemented as built-in object - no need of additional import ("require")

@delchev delchev closed this as completed Apr 30, 2016
@delchev
Copy link
Contributor Author

delchev commented Apr 30, 2016

Usage

/* globals $ */
/* eslint-env node, dirigible */

console.info("Info message: %s", "Hello World!");
console.error("Error message.");
console.warn("Warning message.");
console.log("Log message.");
console.trace("Trace.");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants