Console Logging API

The Microsoft Edge Console Logging API is similar to that of other major browsers, making it easy to test and debug your site for cross-browser compatibility.

The Console Logging API includes console.assert, console.log,, console.warn, console.error, console.debug, console.dir, and console.dirxml, with unprefixed support in Microsoft Edge build 10240+. For a complete list of methods belonging to the console object, see Console Debugging API Methods.

API reference

Console object