src/Logger/Logger.js
/**
     * Perform logging using given logger, or by default to the console.
     * Log has its own level and message.
     *
     * @param {string} level
     * @param {string} message
     * @param {QueryRunner} queryRunner
     */
Perform logging using given logger, or by default to the console.
Log has its own level and message.


Perform logging using given logger or by default to the console . Log has its own level and message .
log(level, message, queryRunner) { 
        if (! this._logger) {
            return;
        }
        let method = 'debug';
        switch (level) {
            case 'log':
                break;
            case 'info':
                method = 'info';
                break;
            case 'warn':
                method = 'warning';
                break;
        }
        this._logger[method](message);
    }
log ( level , message , queryRunner ) { if ( ! this . _logger ) { return ; } let method = 'debug' ; switch ( level ) { case 'log' : break ; case 'info' : method = 'info' ; break ; case 'warn' : method = 'warning' ; break ; } this . _logger [ method ] ( message ) ; }
Perform logging using given logger, or by default to the console.
Perform logging using given logger or by default to the console .
// eslint-disable-line no-unused-vars