src/middleware/logger.js
function getNullLogger() {
  return new Proxy(
    {},
    {
      get: function(target, propKey) {
        // not proxy for Timer
        if (propKey === 'Timer') {
          return _.bind(InnerTimer, {}, undefined)
        }

        return function() {}
      },
      apply: function(target, object, args) {}
    }
  )
}
function getNullLogger() {
  return new Proxy(
    {},
    {
      get: function(target, propKey) {
        // not proxy for Timer
        if (propKey === 'Timer') {
          return _.bind(InnerTimer, {}, undefined)
        }

        return function() {}
      },
      apply: function(target, object, args) {}
    }
  )
}
function getNullLogger ( ) { return new Proxy ( { } , { get : function ( target , propKey ) { // not proxy for Timer if ( propKey === 'Timer' ) { return _ . bind ( InnerTimer , { } , undefined ) } return function ( ) { } } , apply : function ( target , object , args ) { } } ) }
always return a dummy logger
always return a dummy logger