mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
1 line
421 B
JavaScript
1 line
421 B
JavaScript
define([],function(){function a(d,c){var b=(d.prototype!==undefined)?(d.prototype):(d);if(c!==undefined){b._logNamespace=c}["debug","info","warn","error","metric"].forEach(function(e){b[e]=function(){if(!this.logger){return undefined}if(this.logger.emit){return this.logger.emit(e,this._logNamespace,arguments)}if(this.logger[e]){return this.logger[e].apply(this.logger,arguments)}return undefined}});return d}return a}); |