define(['globals'], function(globals) {
  'use strict';

  // Wrap logging so it can be pushed to log in prod, and used safely on old browsers
  var opts = ['log', 'info', 'warn', 'error'],
      l = opts.length,
      logs = {},
      logged = [],
      useConsole = typeof window !== 'undefined' && window.console &&
        globals.bootstrap.env && typeof Function.prototype.bind === 'function' &&
        globals.bootstrap.env === 'development';

  function logIt(name, options) {
    logged.push([name, options, type]);
  }

  while (l--) {
    var type = l;
    logs[opts[l]] = useConsole ? console[opts[l]].bind(console) : logIt;
  }

  if (typeof window !== 'undefined') window.logged = logged;

  return logs;
});

@@ -261,16 +261,19 @@
 nsole = 
+!!(
 typeof w
@@ -351,65 +351,8 @@
 v &&
- typeof Function.prototype.bind === 'function' &&%0A       
  glo
@@ -387,16 +387,17 @@
 lopment'
+)
 ;%0A%0A  fun
@@ -539,9 +539,62 @@
 ole 
-?
+&& typeof console%5Bopts%5Bl%5D%5D.bind === 'function' ?%0A     
  con
@@ -671,16 +671,22 @@
 efined')
+ %7B%0A   
  window.
@@ -701,16 +701,20 @@
  logged;
+%0A  %7D
 %0A%0A  retu

Fix logging facade in old IE