Sha256: e7bceb53b19d0be5a64b4887e32c17ad7f44c4b3b497b4abca88392f7bfd000d
Contents?: true
Size: 776 Bytes
Versions: 62
Compression:
Stored size: 776 Bytes
Contents
/* */ var $ = require('./$'), global = require('./$.global'), $def = require('./$.def'), log = {}, enabled = true; $.each.call(('assert,clear,count,debug,dir,dirxml,error,exception,' + 'group,groupCollapsed,groupEnd,info,isIndependentlyComposed,log,' + 'markTimeline,profile,profileEnd,table,time,timeEnd,timeline,' + 'timelineEnd,timeStamp,trace,warn').split(','), function(key) { log[key] = function() { var $console = global.console; if (enabled && $console && $console[key]) { return Function.apply.call($console[key], $console, arguments); } }; }); $def($def.G + $def.F, {log: require('./$.assign')(log.log, log, { enable: function() { enabled = true; }, disable: function() { enabled = false; } })});
Version data entries
62 entries across 31 versions & 1 rubygems
Version | Path |
---|---|
sequenceserver-1.1.0.beta | public/vendor/npm/core-js@1.1.2/modules/core.log.js |
sequenceserver-1.1.0.beta | public/vendor/npm/core-js@1.1.2/library/modules/core.log.js |