Skip to content

Instantly share code, notes, and snippets.

@azu
Created December 3, 2010 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azu/726864 to your computer and use it in GitHub Desktop.
Save azu/726864 to your computer and use it in GitHub Desktop.
console API
/**
* Created by azu.
* Date: 2010/09/21
* Time: 21:18:56
*/
var console = {
log : function(msg) {
},
debug : function(msg) {
},
info : function(msg) {
},
warn : function(msg) {
},
error : function(msg) {
},
exception : function() {
},
assert : function() {
},
dir : function(obj) {
},
dirxml : function(obj) {
},
trace : function firebugDebuggerTracer() {
},
group : function() {
},
groupEnd : function() {
},
groupCollapsed : function() {
},
time : function(name) {
},
timeEnd : function(name) {
},
profile : function(name) {
},
profileEnd : function(name) {
},
count : function() {
},
clear : function() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment