docs: function logReturn (args, methodMeta, ret) {
      // require log client
      if (!methodMeta.logClient) {
          // return original return value
          return ret
      }
      // do not log if noLogging flag is set on session
      if (args.session.noLogging) {
          // return original return value
          return ret
      }
      // inject logger into promise chain
      return ret
      // log resolve
      .then(res => {
          methodMeta.logClient.log('moduleCallResolve', {
              moduleCallId: args.session.moduleCallId,
              moduleCallResolveData: res,
              resolved: 1,
              moduleCallResolveCreateTime: microTimestamp(),
          })
          // resolve with original resolve value
          return res
      })
      // log reject
      .catch(err => {
          methodMeta.logClient.log('moduleCallResolve', {
              moduleCallId: args.session.moduleCallId,
              moduleCallResolveData: err,
              resolved: 0,
              moduleCallResolveCreateTime: microTimestamp(),
          })
          // reject with original reject value
          return Promise.reject(err)
      })
  }