index.js
function callOnSharedLogger(funcName) {
    if (sharedLogger === null) {
        init();
    }
    var args = Array.prototype.slice.call(arguments, 1);
    sharedLogger[funcName].apply(sharedLogger, args);
}
function callOnSharedLogger(funcName) {
    if (sharedLogger === null) {
        init();
    }
    var args = Array.prototype.slice.call(arguments, 1);
    sharedLogger[funcName].apply(sharedLogger, args);
}
function callOnSharedLogger ( funcName ) { if ( sharedLogger === null ) { init ( ) ; } var args = Array . prototype . slice . call ( arguments , 1 ) ; sharedLogger [ funcName ] . apply ( sharedLogger , args ) ; }
This is meant to be curried via bind() so we don't have to write wrappers for each metric individually.
This is meant to be curried via bind () so we don t have to write wrappers for each metric individually .