lib/logger.js
function getLabel(logLevel, moduleLogging, verboseLabel) {
    let parts;
    let label = '';

    if (moduleLogging) {
        if (logLevel === 'debug' || logLevel === 'silly' || verboseLabel) {
            parts = moduleLogging.filename.split('/');
            label = `${parts[parts.length - 2]}/${parts.pop()}`;
        }
    }

    return label;
}
function getLabel(logLevel, moduleLogging, verboseLabel) {
    let parts;
    let label = '';

    if (moduleLogging) {
        if (logLevel === 'debug' || logLevel === 'silly' || verboseLabel) {
            parts = moduleLogging.filename.split('/');
            label = `${parts[parts.length - 2]}/${parts.pop()}`;
        }
    }

    return label;
}
Return the last folder name in the path and the calling module's filename.