Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
/ console-shim Public archive

Shim to make browsers store console messages without Dev Tools open (e.g. IE9)

Notifications You must be signed in to change notification settings

liamnewmarch/console-shim

Repository files navigation

Console shim

Some browsers require the developer tools to be open before window.console is available.

This is a tiny shim, written in ES6, that provides a dummy console object to the global scope.

It saves all calls to console.log, console.error and other standard methods in a buffer. Once the real window.console exists it forwards everything that’s been saved.

Development

If you plan to work on this console shim you will need Node and npm installed.

To install dependencies and build, run:

$ npm start

Licensing

This code is distributed under a CC-BY license.

About

Shim to make browsers store console messages without Dev Tools open (e.g. IE9)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published