constructor()

in salesforce/lib/logger.js [24:39]


    constructor(logLevel) {
        this.LogLevels = {
            "DEBUG": 1,
            "INFO": 2,
            "WARN": 3,
            "ERROR": 4,
            "FATAL": 5
        };
        this._logLevel;
        if (!logLevel) {
            this._logLevel = this.LogLevels.INFO;
        }
        if (typeof logLevel === "string") {
            this._logLevel = this.LogLevels[logLevel];
        }
    }