Skip to content

Instantly share code, notes, and snippets.

@franklinsales
Created April 20, 2020 18:56
Show Gist options
  • Save franklinsales/f7faf6bb390247a886c4d72139710916 to your computer and use it in GitHub Desktop.
Save franklinsales/f7faf6bb390247a886c4d72139710916 to your computer and use it in GitHub Desktop.
console.log tips
console.log("This is a console.log")
console.warn("This is a console.warn")
console.error("This is a console.error")
console.debug("this is a debug", {name: "fake object that you want debug"})
console.group("This is a init of console.group")
console.log("This is a item of a console.group in the level 1")
console.group("This is a sublevel in a console.group")
console.log("This is a item of the sublevel console.group")
console.groupEnd();
console.log("Back to level 1");
console.groupEnd();
console.log("Now you're out of the group, and in normal level");
@franklinsales
Copy link
Author

Results below:

Image of the result

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