src/log.js
function attach (state, logger, namespace) {
  _.each(levels, function (level, name) {
    logger[ name ] = prepMessage.bind(null, state, name, namespace)
  })
}
function attach (state, logger, namespace) {
  _.each(levels, function (level, name) {
    logger[ name ] = prepMessage.bind(null, state, name, namespace)
  })
}
function attach ( state , logger , namespace ) { _ . each ( levels , function ( level , name ) { logger [ name ] = prepMessage . bind ( null , state , name , namespace ) } ) }
create a bound prepMessage call for each log level
create a bound prepMessage call for each log level