lib/get-log.js
function Logger(name) {
    var prjName = module.exports.PROJECT_NAME;
    this.name = prjName ? prjName + ':' + name : name;
    this._debug = debug(this.name);
    this._debug.log = logDebug;
    this.debugEnabled = debug.enabled(this.name);
    if (this.debugEnabled) {
        logDebug('[%s] debug is %s', this.name.blue, 'ENABLED'.green);
    }
}
function Logger(name) {
    var prjName = module.exports.PROJECT_NAME;
    this.name = prjName ? prjName + ':' + name : name;
    this._debug = debug(this.name);
    this._debug.log = logDebug;
    this.debugEnabled = debug.enabled(this.name);
    if (this.debugEnabled) {
        logDebug('[%s] debug is %s', this.name.blue, 'ENABLED'.green);
    }
}
function Logger ( name ) { var prjName = module . exports . PROJECT_NAME ; this . name = prjName ? prjName + ':' + name : name ; this . _debug = debug ( this . name ) ; this . _debug . log = logDebug ; this . debugEnabled = debug . enabled ( this . name ) ; if ( this . debugEnabled ) { logDebug ( '[%s] debug is %s' , this . name . blue , 'ENABLED' . green ) ; } }
The constructor requires the logger name
The constructor requires the logger name