lib/shared.js
function defaultLogger() {
            if(!_defaultLogger) {
                var prefix = 'master';
                if(cluster.worker) {
                    prefix = 'work ' + cluster.worker.id;
                }
                _defaultLogger = new Logger(process.stdout, prefix, utils.LogLevel.INFO, []);
            }
            return _defaultLogger;
        }
function defaultLogger() {
            if(!_defaultLogger) {
                var prefix = 'master';
                if(cluster.worker) {
                    prefix = 'work ' + cluster.worker.id;
                }
                _defaultLogger = new Logger(process.stdout, prefix, utils.LogLevel.INFO, []);
            }
            return _defaultLogger;
        }
function defaultLogger ( ) { if ( ! _defaultLogger ) { var prefix = 'master' ; if ( cluster . worker ) { prefix = 'work ' + cluster . worker . id ; } _defaultLogger = new Logger ( process . stdout , prefix , utils . LogLevel . INFO , [ ] ) ; } return _defaultLogger ; }
Obtains the default logger. If one has not been set then logging is
to process.stdout at the INFO level.
Obtains the default logger . If one has not been set then logging is to process . stdout at the INFO level .