In this tutorial, we'll learn the Different Ways of Logging to the Web Browser Console. Web console features to use for better debugging
console.log('log message ...!')
In this guide, I will discuss the alternative ways of logging to the web console so that you can be more efficient in your development workflow, for debugging purposes in particular.
Before we look at the alternatives, let’s look at what the
console.log() is really good at.
The most common method of logging to the web console is via the
For simple string messages,
console.log() is king.