function BigIq50LicenseProvider(bigIp, options) {
    const injectedLogger = options ? options.logger : undefined;
    let loggerOptions = options ? options.loggerOptions : undefined;

    if (injectedLogger) {
        this.logger = injectedLogger;
        util.setLogger(injectedLogger);
    } else {
        loggerOptions = loggerOptions || { logLevel: 'none' };
        loggerOptions.module = module;
        this.logger = Logger.getLogger(loggerOptions);
        util.setLoggerOptions(loggerOptions);
    }

    logger = this.logger;
    this.bigIp = bigIp;
}
function BigIq50LicenseProvider(bigIp, options) {
    const injectedLogger = options ? options.logger : undefined;
    let loggerOptions = options ? options.loggerOptions : undefined;

    if (injectedLogger) {
        this.logger = injectedLogger;
        util.setLogger(injectedLogger);
    } else {
        loggerOptions = loggerOptions || { logLevel: 'none' };
        loggerOptions.module = module;
        this.logger = Logger.getLogger(loggerOptions);
        util.setLoggerOptions(loggerOptions);
    }

    logger = this.logger;
    this.bigIp = bigIp;
}
function BigIq50LicenseProvider ( bigIp , options ) { const injectedLogger = options ? options . logger : undefined ; let loggerOptions = options ? options . loggerOptions : undefined ; if ( injectedLogger ) { this . logger = injectedLogger ; util . setLogger ( injectedLogger ) ; } else { loggerOptions = loggerOptions || { logLevel : 'none' } ; loggerOptions . module = module ; this . logger = Logger . getLogger ( loggerOptions ) ; util . setLoggerOptions ( loggerOptions ) ; } logger = this . logger ; this . bigIp = bigIp ; }
BigIq 5.0 license provider constructor

@class
@classdesc
Provides ability to get licenses from BIG-IQ 5.0 (and compatible versions).

@param {Object} bigIp                   - Base {@link BigIp} object.
@param {Object} [options]               - Optional parameters.
@param {Object} [options.logger]        - Logger to use. Or, pass loggerOptions to get your own logger.
@param {Object} [options.loggerOptions] - Options for the logger.
See {@link module:logger.getLogger} for details.
BigIq 5 . 0 license provider constructor