lib/consoleService.js
function exportEvent(outer, inner, event) {
    inner.on(event, (...args) => {
        args.unshift(event);
        outer.emit(...args);
    });
}
function exportEvent(outer, inner, event) {
    inner.on(event, (...args) => {
        args.unshift(event);
        outer.emit(...args);
    });
}
function exportEvent ( outer , inner , event ) { inner . on ( event , ( ... args ) => { args . unshift ( event ) ; outer . emit ( ... args ) ; } ) ; }
export closure function out

@param {Function} outer outer function
@param {Function} inner inner function
@param {object} event
@api private
export closure function out