by cowboy

JavaScript Debug: A simple wrapper for console.log

442 Stars 73 Forks Last release: Not found Other 6 Commits 2 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

JavaScript Debug: A simple wrapper for console.log

Version: 0.4, Last updated: 6/22/2010

This code provides a simple wrapper for the console's logging methods, and was created to allow a very easy-to-use, cross-browser logging solution, without requiring excessive or unwieldy object detection. If a console object is not detected, all logged messages will be stored internally until a logging callback is added. If a console object is detected, but doesn't have any of the

, and
logging methods,
will be used in their place. For convenience, some of the less common console methods will be passed through to the console object if they are detected, otherwise they will simply fail gracefully.

Visit the project page for more information and usage examples!



Support and Testing

Browsers Tested

Internet Explorer 6-8, Firefox 3-3.6, Safari 3-4, Chrome 3-5, Opera 9.6-10.5


Copyright (c) 2010 "Cowboy" Ben Alman
Dual licensed under the MIT and GPL licenses.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.