javascript-debug

JavaScript Debug: A simple wrapper for console.log

  • Owner: cowboy/javascript-debug
  • Platform:
  • License:: GNU General Public License v2.0
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

JavaScript Debug: A simple wrapper for console.log

http://benalman.com/projects/javascript-debug-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 debug, info, warn, and error logging methods, log 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!

Documentation

http://benalman.com/code/projects/javascript-debug/docs/

Examples

http://benalman.com/code/projects/javascript-debug/examples/debug/

Support and Testing

Browsers Tested

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

License

Copyright (c) 2010 "Cowboy" Ben Alman
Dual licensed under the MIT and GPL licenses.
http://benalman.com/about/license/

Main metrics

Overview
Name With Ownercowboy/javascript-debug
Primary LanguageJavaScript
Program languagePHP (Language Count: 2)
Platform
License:GNU General Public License v2.0
所有者活动
Created At2009-09-30 00:57:39
Pushed At2016-06-10 16:06:10
Last Commit At2010-06-22 14:17:46
Release Count2
Last Release Namev0.4 (Posted on 2010-06-22 14:18:06)
First Release Namev0.3 (Posted on 2010-06-22 14:19:19)
用户参与
Stargazers Count435
Watchers Count19
Fork Count96
Commits Count6
Has Issues Enabled
Issues Count3
Issue Open Count2
Pull Requests Count0
Pull Requests Open Count3
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private