-
Notifications
You must be signed in to change notification settings - Fork 4
MichaelZelensky/log.js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
log.js Cross-browser wrapper for window.console object. If you try to use console.log() in Internet Explorer version 9 or less, it will throw out an error and make your script stop. The script fixes this problem and makes console.log() usage cross-browser. It will not log messages in IE9 or less, because there is no technical way for that, but your JS will also not crash because of using console object. Usage Include JSLog by adding this line to your html HEAD section: <script src="j/https://github.com/MichaelZelensky/s/log.js" type="application/javascript"></script> In your JS code: log.log('This is console log message'); log.error('This is console error message');
About
Cross-browser wrapper for window.console object.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published