function execute() {
  return generateLogObject()
  .then((obj) => {
    let level = DEFAULT_LOG_LEVEL;
    if (warningThreshold > ZERO && obj.inactiveCount > warningThreshold) {
      level = WARNING_LOG_LEVEL;
    }

    activityLogUtil.printActivityLogString(obj, key, level);
  });
} // execute
/**
 * Execute the call to write kue stats activity logs.
 */
Execute the call to write kue stats activity logs.
Execute the call to write kue stats activity logs .
function execute() {
  return generateLogObject()
  .then((obj) => {
    let level = DEFAULT_LOG_LEVEL;
    if (warningThreshold > ZERO && obj.inactiveCount > warningThreshold) {
      level = WARNING_LOG_LEVEL;
    }
    activityLogUtil.printActivityLogString(obj, key, level);
  });
} 
function execute ( ) { return generateLogObject ( ) . then ( ( obj ) => { let level = DEFAULT_LOG_LEVEL ; if ( warningThreshold > ZERO && obj . inactiveCount > warningThreshold ) { level = WARNING_LOG_LEVEL ; } activityLogUtil . printActivityLogString ( obj , key , level ) ; } ) ; }
Execute the call to write kue stats activity logs.
Execute the call to write kue stats activity logs .
// execute