var config = require('./config')

module.exports = {
  log: function (message, data) {
    var isDebugMode = config.get('debug') == 'true'
    var hasConsole = window.console


    if (isDebugMode && hasConsole) {
      window.console.log(message, data)
    }

  }
}

@@ -27,16 +27,35 @@
 nfig')%0A%0A
+var logStack = %5B%5D%0A%0A
 module.e
@@ -188,16 +188,80 @@
 onsole%0A%0A
+    logStack.push(%7B%0A      msg: message,%0A      data: data%0A    %7D)%0A
 %0A    if 

Add internal logstack in logger