logging.js
function isLoggingConfigured(target) {
  return target && isBoolean(target.warnEnabled) && isBoolean(target.infoEnabled) && isBoolean(target.debugEnabled)
    && isBoolean(target.traceEnabled) && typeof target.error === 'function' && typeof target.warn === 'function'
    && typeof target.info === 'function' && typeof target.debug === 'function' && typeof target.trace === 'function';
}
function isLoggingConfigured(target) {
  return target && isBoolean(target.warnEnabled) && isBoolean(target.infoEnabled) && isBoolean(target.debugEnabled)
    && isBoolean(target.traceEnabled) && typeof target.error === 'function' && typeof target.warn === 'function'
    && typeof target.info === 'function' && typeof target.debug === 'function' && typeof target.trace === 'function';
}
function isLoggingConfigured ( target ) { return target && isBoolean ( target . warnEnabled ) && isBoolean ( target . infoEnabled ) && isBoolean ( target . debugEnabled ) && isBoolean ( target . traceEnabled ) && typeof target . error === 'function' && typeof target . warn === 'function' && typeof target . info === 'function' && typeof target . debug === 'function' && typeof target . trace === 'function' ; }
Returns true, if the given target already has logging functionality configured on it; otherwise returns false.
@param {Object} target the target object to check
@return {*} true if configured; otherwise false
Returns true if the given target already has logging functionality configured on it ; otherwise returns false .